aboutsummaryrefslogtreecommitdiff
path: root/src/settings-shared.h
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-09-07 07:07:51 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-09-07 07:07:51 -0500
commitc81e028e66f6d574e6657f782d90493857192975 (patch)
tree99930c03ff97c3618032a680a2462b75b130fb2d /src/settings-shared.h
parentfd1d19cbdc2d29d8ada8a304221cabf6cac95e7a (diff)
downloadayatana-indicator-datetime-c81e028e66f6d574e6657f782d90493857192975.tar.gz
ayatana-indicator-datetime-c81e028e66f6d574e6657f782d90493857192975.tar.bz2
ayatana-indicator-datetime-c81e028e66f6d574e6657f782d90493857192975.zip
both service.c and utils.c have an enum for the time format mode, so share it in settings-shared.h
Diffstat (limited to 'src/settings-shared.h')
-rw-r--r--src/settings-shared.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/settings-shared.h b/src/settings-shared.h
index 27ce34c..afcccb6 100644
--- a/src/settings-shared.h
+++ b/src/settings-shared.h
@@ -22,6 +22,15 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef __DATETIME_SETTINGS_SHARED_H__
#define __DATETIME_SETTINGS_SHARED_H__
+typedef enum
+{
+ TIME_FORMAT_MODE_LOCALE_DEFAULT,
+ TIME_FORMAT_MODE_12_HOUR,
+ TIME_FORMAT_MODE_24_HOUR,
+ TIME_FORMAT_MODE_CUSTOM
+}
+TimeFormatMode;
+
#define SETTINGS_INTERFACE "com.canonical.indicator.datetime"
#define SETTINGS_SHOW_CLOCK_S "show-clock"
#define SETTINGS_TIME_FORMAT_S "time-format"