summaryrefslogtreecommitdiff
path: root/items.h
diff options
context:
space:
mode:
Diffstat (limited to 'items.h')
-rw-r--r--items.h22
1 files changed, 12 insertions, 10 deletions
diff --git a/items.h b/items.h
index b89728c..c6143ca 100644
--- a/items.h
+++ b/items.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 __ITEMS_H__
-#define __ITEMS_H__
+#ifndef __ITEMS_H__
+#define __ITEMS_H__
#include <glib.h>
@@ -25,7 +25,7 @@
typedef enum {
GALLERY_TYPE_INDEX = 1 << 0,
GALLERY_TYPE_ALBUM = 1 << 1
-} TGalleryType;
+} TGalleryType;
typedef struct {
TGalleryType type;
@@ -40,6 +40,7 @@ typedef struct {
unsigned long landscape_height;
unsigned long portrait_width;
unsigned long portrait_height;
+ char *border_style;
} TAlbum;
typedef struct {
@@ -52,13 +53,14 @@ typedef struct {
unsigned long width;
unsigned long height;
gboolean nofullsize;
+ char *border_style;
} TIndexItem;
/*
- * parse_album_xml: XML parser for gallery index.xml files
- */
+ * parse_album_xml: XML parser for gallery index.xml files
+ */
gboolean parse_album_xml (const char *filename, TAlbum *index);
/*
@@ -67,8 +69,8 @@ gboolean parse_album_xml (const char *filename, TAlbum *index);
void free_album_data (TAlbum *index);
/*
- * get_album_objects_count: retrieve number of items in specified album
- */
+ * get_album_objects_count: retrieve number of items in specified album
+ */
int get_album_objects_count (const char *filename);