[PATCH 02/15] core: add operation option keys



From: Guillaume Emont <guijemont igalia com>

These keys represent options that will be given to operations.
---
 src/grl-operation-options-priv.h |   39 ++++++++++++++++++++++++++++++++++++++
 1 files changed, 39 insertions(+), 0 deletions(-)
 create mode 100644 src/grl-operation-options-priv.h

diff --git a/src/grl-operation-options-priv.h b/src/grl-operation-options-priv.h
new file mode 100644
index 0000000..e8e1959
--- /dev/null
+++ b/src/grl-operation-options-priv.h
@@ -0,0 +1,39 @@
+/*
+ * Copyright (C) 2011 Igalia S.L.
+ *
+ * Contact: Iago Toral Quiroga <itoral igalia com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License
+ * as published by the Free Software Foundation; version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ *
+ */
+
+#if !defined (_GRILO_H_INSIDE_) && !defined (GRILO_COMPILATION)
+#error "Only <grilo.h> can be included directly."
+#endif
+
+#ifndef _GRL_OPERATION_OPTIONS_PRIV_H_
+#define _GRL_OPERATION_OPTIONS_PRIV_H_
+
+#include <grl-operation-options.h>
+
+/* FIXME: Would probably be best to change these (and the APIs using them) into
+ * GQuarks */
+#define GRL_OPERATION_OPTION_SKIP "skip"
+#define GRL_OPERATION_OPTION_COUNT "count"
+#define GRL_OPERATION_OPTION_FLAGS "flags"
+
+
+#endif /* _GRL_OPERATION_OPTIONS_PRIV_H_ */
-- 
1.7.5.4



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