Logo Search packages:      
Sourcecode: happydigger version File versions

preferences.h

/*
 * happydigger - program for cataloging archaeological finds
 * Copyright (C) 2004, 2005, 2007 Joop Stakenborg <pg4i@amsat.org>
 *
 * This program 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 2 of the License, or
 * (at your option) any later version.
 *
 * This program 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 Library General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
 */

typedef struct
{
  gchar *types;
  gchar *materials;
  gchar *periods;
  gchar *colvisible;
  gchar *webpagetitle;
  gchar *webpagefootnote;
  gint reverseorder;
  gint recordsperpage;
  gint sortby;
} preferencestype;

typedef struct
{
  gchar *imageloaddir; /* last images loaded from this directory */
  gchar *table;        /* name of the table used */
  gchar *webmapdir;    /* last html export to this directory */
  gchar *sortby;       /* name to sort by when exporting to html */
} statestype;

void loadpreferences (void);
void savepreferences (void);

Generated by  Doxygen 1.6.0   Back to index