aboutsummaryrefslogtreecommitdiffstats
path: root/modules/settings/e-settings-weekday-chooser.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-03-08 20:11:48 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-03-09 04:27:01 +0800
commit529c50f134e9b0fdaa7e02eb8dd9d5efd6e4179e (patch)
treed7ee107d6baeb3b8e01ceadec412cd6d8f19fcdf /modules/settings/e-settings-weekday-chooser.h
parent4493ff829e3634fbbdcfe05bebcd2cc882551b62 (diff)
downloadgsoc2013-evolution-529c50f134e9b0fdaa7e02eb8dd9d5efd6e4179e.tar
gsoc2013-evolution-529c50f134e9b0fdaa7e02eb8dd9d5efd6e4179e.tar.gz
gsoc2013-evolution-529c50f134e9b0fdaa7e02eb8dd9d5efd6e4179e.tar.bz2
gsoc2013-evolution-529c50f134e9b0fdaa7e02eb8dd9d5efd6e4179e.tar.lz
gsoc2013-evolution-529c50f134e9b0fdaa7e02eb8dd9d5efd6e4179e.tar.xz
gsoc2013-evolution-529c50f134e9b0fdaa7e02eb8dd9d5efd6e4179e.tar.zst
gsoc2013-evolution-529c50f134e9b0fdaa7e02eb8dd9d5efd6e4179e.zip
Add ESettingsWeekdayChooser.
Configures the "week-start-day" property of EWeekdayChooser.
Diffstat (limited to 'modules/settings/e-settings-weekday-chooser.h')
-rw-r--r--modules/settings/e-settings-weekday-chooser.h66
1 files changed, 66 insertions, 0 deletions
diff --git a/modules/settings/e-settings-weekday-chooser.h b/modules/settings/e-settings-weekday-chooser.h
new file mode 100644
index 0000000000..e4c868183b
--- /dev/null
+++ b/modules/settings/e-settings-weekday-chooser.h
@@ -0,0 +1,66 @@
+/*
+ * e-settings-weekday-chooser.h
+ *
+ * This program 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; either
+ * version 2 of the License, or (at your option) version 3.
+ *
+ * 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with the program; if not, see <http://www.gnu.org/licenses/>
+ *
+ */
+
+#ifndef E_SETTINGS_WEEKDAY_CHOOSER_H
+#define E_SETTINGS_WEEKDAY_CHOOSER_H
+
+#include <libebackend/libebackend.h>
+
+/* Standard GObject macros */
+#define E_TYPE_SETTINGS_WEEKDAY_CHOOSER \
+ (e_settings_weekday_chooser_get_type ())
+#define E_SETTINGS_WEEKDAY_CHOOSER(obj) \
+ (G_TYPE_CHECK_INSTANCE_CAST \
+ ((obj), E_TYPE_SETTINGS_WEEKDAY_CHOOSER, ESettingsWeekdayChooser))
+#define E_SETTINGS_WEEKDAY_CHOOSER_CLASS(cls) \
+ (G_TYPE_CHECK_CLASS_CAST \
+ ((cls), E_TYPE_SETTINGS_WEEKDAY_CHOOSER, ESettingsWeekdayChooserClass))
+#define E_IS_SETTINGS_WEEKDAY_CHOOSER(obj) \
+ (G_TYPE_CHECK_INSTANCE_TYPE \
+ ((obj), E_TYPE_SETTINGS_WEEKDAY_CHOOSER))
+#define E_IS_SETTINGS_WEEKDAY_CHOOSER_CLASS(cls) \
+ (G_TYPE_CHECK_CLASS_TYPE \
+ ((cls), E_TYPE_SETTINGS_WEEKDAY_CHOOSER))
+#define E_SETTINGS_WEEKDAY_CHOOSER_GET_CLASS(obj) \
+ (G_TYPE_INSTANCE_GET_CLASS \
+ ((obj), E_TYPE_SETTINGS_WEEKDAY_CHOOSER, ESettingsWeekdayChooserClass))
+
+G_BEGIN_DECLS
+
+typedef struct _ESettingsWeekdayChooser ESettingsWeekdayChooser;
+typedef struct _ESettingsWeekdayChooserClass ESettingsWeekdayChooserClass;
+typedef struct _ESettingsWeekdayChooserPrivate ESettingsWeekdayChooserPrivate;
+
+struct _ESettingsWeekdayChooser {
+ EExtension parent;
+ ESettingsWeekdayChooserPrivate *priv;
+};
+
+struct _ESettingsWeekdayChooserClass {
+ EExtensionClass parent_class;
+};
+
+GType e_settings_weekday_chooser_get_type
+ (void) G_GNUC_CONST;
+void e_settings_weekday_chooser_type_register
+ (GTypeModule *type_module);
+
+G_END_DECLS
+
+#endif /* E_SETTINGS_WEEKDAY_CHOOSER_H */
+