diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2013-07-30 21:36:32 +0000 |
---|---|---|
committer | Tarmac <Unknown> | 2013-07-30 21:36:32 +0000 |
commit | 809982d3f185c6e5480805be6e38538a3a066c63 (patch) | |
tree | 038f8062b150cd5e916fa03162c778344758ec1c /src/utils.h | |
parent | fe279460c083468059d7a6e46a4b033ad668c8d3 (diff) | |
parent | a60f5e911160d1f0b15e40a1eefe429b5fe973f9 (diff) | |
download | ayatana-indicator-datetime-809982d3f185c6e5480805be6e38538a3a066c63.tar.gz ayatana-indicator-datetime-809982d3f185c6e5480805be6e38538a3a066c63.tar.bz2 ayatana-indicator-datetime-809982d3f185c6e5480805be6e38538a3a066c63.zip |
add a phone menu as described at https://wiki.ubuntu.com/TimeAndDate#Indicator.
Approved by Ted Gould, PS Jenkins bot.
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 31 |
1 files changed, 26 insertions, 5 deletions
diff --git a/src/utils.h b/src/utils.h index 8dc2964..3b0d0a2 100644 --- a/src/utils.h +++ b/src/utils.h @@ -27,12 +27,33 @@ with this program. If not, see <http://www.gnu.org/licenses/>. G_BEGIN_DECLS -gboolean is_locale_12h (void); -void split_settings_location (const gchar * location, gchar ** zone, gchar ** name); -gchar * get_current_zone_name (const gchar * location); -gchar * generate_format_string_full (gboolean show_day, gboolean show_date); -gchar * generate_format_string_at_time (GDateTime * now, GDateTime * time); +gboolean is_locale_12h (void); +void split_settings_location (const char * location, + char ** zone, + char ** name); + +gchar * get_current_zone_name (const char * location); + +gchar* join_date_and_time_format_strings (const char * date_fmt, + const char * time_fmt); +/*** +**** +***/ + +const gchar * get_terse_time_format_string (GDateTime * time); + +const gchar * get_full_time_format_string (void); + +gchar * generate_terse_format_string_at_time (GDateTime * now, + GDateTime * time); + +gchar * generate_full_format_string (gboolean show_day, + gboolean show_date); + +gchar * generate_full_format_string_at_time (GDateTime * now, + GDateTime * time); + G_END_DECLS #endif |