/**
 * prefs.h - prefs for SciteProj
 *
 *  Copyright 2006 Roy Wood, 2009-2020 Andreas Rönnquist
 *
 * This file is part of SciteProj.
 *
 * SciteProj is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * SciteProj is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with SciteProj.  If not, see <http://www.gnu.org/licenses/>.
 *
 */
#ifndef __HEADER_PREFS_
#define __HEADER_PREFS_

#define PREFS_BUFSIZE 256

/**
 *
 */
typedef struct {
   int lhs;
   int width, height;
   int verbosity;
   int last_file_filter;
   int xpos,ypos;

   int search_xpos,search_ypos;
   int search_width,search_height;

   gboolean give_scite_focus;
   gboolean search_give_scite_focus;

   gchar *scite_path;

   gboolean show_recent;
   gboolean recent_add_to_bottom;

   gboolean hide_statusbar;

   gboolean use_stock_folder_icon;

   gboolean write_protect;

   gboolean start_scite;

   GSList *hide_filter_global;

} sciteproj_prefs;

extern sciteproj_prefs prefs;

extern gchar *prefs_filename;

gboolean init_prefs(gchar *target_directory, GError **error);
void done_prefs();

#endif /*__HEADER_PREFS_*/
