aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-datetime-format.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-12-14 20:25:24 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-12-15 21:16:36 +0800
commit5e2efa2cd4ac7891fdf316dafd9ab249086e842a (patch)
treefe4b9c1ef8d783281789c4a378253aa41af35db3 /e-util/e-datetime-format.h
parent63cff95414fc76e6d58a274ffebe019cd6feb0a5 (diff)
downloadgsoc2013-evolution-5e2efa2cd4ac7891fdf316dafd9ab249086e842a.tar
gsoc2013-evolution-5e2efa2cd4ac7891fdf316dafd9ab249086e842a.tar.gz
gsoc2013-evolution-5e2efa2cd4ac7891fdf316dafd9ab249086e842a.tar.bz2
gsoc2013-evolution-5e2efa2cd4ac7891fdf316dafd9ab249086e842a.tar.lz
gsoc2013-evolution-5e2efa2cd4ac7891fdf316dafd9ab249086e842a.tar.xz
gsoc2013-evolution-5e2efa2cd4ac7891fdf316dafd9ab249086e842a.tar.zst
gsoc2013-evolution-5e2efa2cd4ac7891fdf316dafd9ab249086e842a.zip
Finish adding symbols to libeutil API docs.
Diffstat (limited to 'e-util/e-datetime-format.h')
-rw-r--r--e-util/e-datetime-format.h32
1 files changed, 23 insertions, 9 deletions
diff --git a/e-util/e-datetime-format.h b/e-util/e-datetime-format.h
index 5974349e06..90e3aaac6c 100644
--- a/e-util/e-datetime-format.h
+++ b/e-util/e-datetime-format.h
@@ -24,27 +24,41 @@
#error "Only <e-util/e-util.h> should be included directly."
#endif
-#ifndef __E_DATETIME_FORMAT__
-#define __E_DATETIME_FORMAT__
+#ifndef E_DATETIME_FORMAT_H
+#define E_DATETIME_FORMAT_H
#include <time.h>
#include <gtk/gtk.h>
G_BEGIN_DECLS
-typedef enum _DTFormatKind {
+typedef enum {
DTFormatKindDate,
DTFormatKindTime,
DTFormatKindDateTime,
DTFormatKindShortDate
} DTFormatKind;
-void e_datetime_format_add_setup_widget (GtkWidget *table, gint row, const gchar *component, const gchar *part, DTFormatKind kind, const gchar *caption);
-
-gchar *e_datetime_format_format (const gchar *component, const gchar *part, DTFormatKind kind, time_t value);
-gchar *e_datetime_format_format_tm (const gchar *component, const gchar *part, DTFormatKind kind, struct tm *tm_time);
-gboolean e_datetime_format_includes_day_name (const gchar *component, const gchar *part, DTFormatKind kind);
+void e_datetime_format_add_setup_widget
+ (GtkWidget *table,
+ gint row,
+ const gchar *component,
+ const gchar *part,
+ DTFormatKind kind,
+ const gchar *caption);
+gchar * e_datetime_format_format (const gchar *component,
+ const gchar *part,
+ DTFormatKind kind,
+ time_t value);
+gchar * e_datetime_format_format_tm (const gchar *component,
+ const gchar *part,
+ DTFormatKind kind,
+ struct tm *tm_time);
+gboolean e_datetime_format_includes_day_name
+ (const gchar *component,
+ const gchar *part,
+ DTFormatKind kind);
G_END_DECLS
-#endif
+#endif /* E_DATETIME_FORMAT_H */