summaryrefslogtreecommitdiff
path: root/setup.h
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2008-08-10 14:30:23 +0200
committerTomas Bzatek <tbzatek@users.sourceforge.net>2008-08-10 14:30:23 +0200
commit3462576fd6bc883c41042fb7ae93ebabb12718d8 (patch)
tree3a6e85717d93b375c5b46674894f4b44d2c961b3 /setup.h
parentee8d3aa3f337cef3faae8d45c6e23ab05f380db8 (diff)
downloadcataract-3462576fd6bc883c41042fb7ae93ebabb12718d8.tar.xz
Support for different preview image borders
Strip trailing whitespaces
Diffstat (limited to 'setup.h')
-rw-r--r--setup.h28
1 files changed, 15 insertions, 13 deletions
diff --git a/setup.h b/setup.h
index 0cde34c..c1f72bf 100644
--- a/setup.h
+++ b/setup.h
@@ -1,22 +1,22 @@
/* Cataract - Static web photo gallery generator
* Copyright (C) 2008 Tomas Bzatek <tbzatek@users.sourceforge.net>
- *
+ *
* 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 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 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.
*/
-#ifndef __SETUP_H__
-#define __SETUP_H__
+#ifndef __SETUP_H__
+#define __SETUP_H__
#include <glib.h>
@@ -27,14 +27,14 @@ typedef struct {
char *real_templates_dir;
char *setup_xml_path;
-
+
char *templates_path;
char *template_index;
char *template_album;
char *template_photo;
char *styles;
char *scripts;
-
+
char *footer;
int thumbnail_quality;
@@ -48,18 +48,20 @@ typedef struct {
unsigned long preview_landscape_height;
unsigned long preview_portrait_width;
unsigned long preview_portrait_height;
+
+ char *border_style;
} TGallerySetup;
/*
- * find_setup_xml: try to find setup.xml in standard paths
- */
+ * find_setup_xml: try to find setup.xml in standard paths
+ */
gboolean find_setup_xml (TGallerySetup *setup);
/*
- * parse_setup_xml: XML parser for setup.xml file
- */
+ * parse_setup_xml: XML parser for setup.xml file
+ */
gboolean parse_setup_xml (const char *filename, TGallerySetup *setup);
/*
@@ -69,8 +71,8 @@ void free_setup_data (TGallerySetup *setup);
/*
* find_templates_directory: absolute/relative path checks, trying to find templates directory
- * - returned string should be freed
- */
+ * - returned string should be freed
+ */
char *find_templates_directory (TGallerySetup *setup);