/*
The store.h file is used to decalre all the variables that will be used.
They're declared ahead of time so that they are global and preset for the API build.
*/
//file paramter
gchar* fileprmt;
//app settings
const gint maxtabs=3;
//temp vars
gint curtab, tabcount=0;
//public main gtk widgets
GtkWidget *filesel,
*window,
*menubox,
*mainpane,
*menubar,
*filelist,
*save_check_vbox,
*save_check_label,
*save_check_save,
*save_check_save_as,
*save_check_no,
*save_check_none,
*save_check_all,
*save_check_cancel,
*save_check,
*search_box,
*search_find,
*notebook;
//tab information structure
typedef struct
{
gint tab, savestat;
gchar *filename, *contents, charset;
gsize length;
GError *err;
GtkTextIter iter;
GtkWidget *scroller, *textview;
GtkSourceBuffer *buffer;
GtkSourceLanguage *lang;
} tabinfo;
//create tab from new type structure
tabinfo tab[maxtabs];
//lanuage vars
GtkSourceLanguageManager *syntax_man;
//buffer iters
GtkTextIter start, end, iter;
//temp value for save_check
gint tmpall=0;
//return storage
gint canpass=0;
gint openpass=0;
gint newup=1;
char *tmptext;
GtkItemFactory *ifactory;
gboolean state;
//icon list
GList *icolst=NULL;
GError **tmppixbuf;