[gnome-photos] query: Add PhotosQueryColumns



commit a3f89f3edb68bfe99838d8e9ece5dcb905691dec
Author: Debarshi Ray <debarshir gnome org>
Date:   Sat Apr 28 01:06:12 2012 +0200

    query: Add PhotosQueryColumns

 src/Makefile.am    |    1 +
 src/photos-query.h |   44 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+), 0 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 91f2ade..7c297e3 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -33,6 +33,7 @@ gnome_photos_SOURCES = \
 	photos-organize-collection-model.h \
 	photos-organize-collection-view.c \
 	photos-organize-collection-view.h \
+	photos-query.h \
 	photos-selection-controller.c \
 	photos-selection-controller.h \
 	photos-selection-toolbar.c \
diff --git a/src/photos-query.h b/src/photos-query.h
new file mode 100644
index 0000000..e47c155
--- /dev/null
+++ b/src/photos-query.h
@@ -0,0 +1,44 @@
+/*
+ * Photos - access, organize and share your photos on GNOME
+ * Copyright  2012 Red Hat, Inc.
+ *
+ * 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 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 PHOTOS_QUERY_H
+#define PHOTOS_QUERY_H
+
+G_BEGIN_DECLS
+
+typedef enum
+{
+  PHOTOS_QUERY_COLUMNS_URN,
+  PHOTOS_QUERY_COLUMNS_URI,
+  PHOTOS_QUERY_COLUMNS_FILENAME,
+  PHOTOS_QUERY_COLUMNS_MIME_TYPE,
+  PHOTOS_QUERY_COLUMNS_TITLE,
+  PHOTOS_QUERY_COLUMNS_AUTHOR,
+  PHOTOS_QUERY_COLUMNS_MTIME,
+  PHOTOS_QUERY_COLUMNS_IDENTIFIER,
+  PHOTOS_QUERY_COLUMNS_RDF_TYPE,
+  PHOTOS_QUERY_COLUMNS_RESOURCE_URN,
+  PHOTOS_QUERY_COLUMNS_RESOURCE_FAVORITE,
+  PHOTOS_QUERY_COLUMNS_RESOURCE_SHARED
+} PhotosQueryColumns;
+
+G_END_DECLS
+
+#endif /* PHOTOS_QUERY_H */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]