aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/itip-formatter/itip-view.h
diff options
context:
space:
mode:
authorJP Rosevear <jpr@novell.com>2005-01-04 03:00:02 +0800
committerJP Rosevear <jpr@src.gnome.org>2005-01-04 03:00:02 +0800
commit89441016f3d9e975f1a336b44240b54b0ae93e2b (patch)
tree8e95640a75583365384ac2ee3bc44a6b570070bb /plugins/itip-formatter/itip-view.h
parenta7e7ed91764d6b16f6e85f06d42fb0d68a1d2ee7 (diff)
downloadgsoc2013-evolution-89441016f3d9e975f1a336b44240b54b0ae93e2b.tar
gsoc2013-evolution-89441016f3d9e975f1a336b44240b54b0ae93e2b.tar.gz
gsoc2013-evolution-89441016f3d9e975f1a336b44240b54b0ae93e2b.tar.bz2
gsoc2013-evolution-89441016f3d9e975f1a336b44240b54b0ae93e2b.tar.lz
gsoc2013-evolution-89441016f3d9e975f1a336b44240b54b0ae93e2b.tar.xz
gsoc2013-evolution-89441016f3d9e975f1a336b44240b54b0ae93e2b.tar.zst
gsoc2013-evolution-89441016f3d9e975f1a336b44240b54b0ae93e2b.zip
utility routine to make it easier to add info items
2005-01-03 JP Rosevear <jpr@novell.com> * itip-view.c (itip_view_add_upper_info_item_printf): utility routine to make it easier to add info items (itip_view_add_lower_info_item_printf): ditto * itip-view.h: new protos * itip-formatter.c: use new printf routines everyhwere it makes sense svn path=/trunk/; revision=28220
Diffstat (limited to 'plugins/itip-formatter/itip-view.h')
-rw-r--r--plugins/itip-formatter/itip-view.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/itip-formatter/itip-view.h b/plugins/itip-formatter/itip-view.h
index 24b167dd31..d71f0796eb 100644
--- a/plugins/itip-formatter/itip-view.h
+++ b/plugins/itip-formatter/itip-view.h
@@ -23,6 +23,8 @@
#ifndef _ITIP_VIEW_H_
#define _ITIP_VIEW_H_
+#include <stdarg.h>
+#include <unistd.h>
#include <glib-object.h>
#include <gtk/gtkhbox.h>
#include <libedataserver/e-source-list.h>
@@ -118,11 +120,13 @@ const struct tm *itip_view_get_start (ItipView *view);
void itip_view_set_end (ItipView *view, struct tm *end);
const struct tm *itip_view_get_end (ItipView *view);
-guint itip_view_add_upper_info_item (ItipView *view, ItipViewInfoItemType, const char *message);
+guint itip_view_add_upper_info_item (ItipView *view, ItipViewInfoItemType type, const char *message);
+guint itip_view_add_upper_info_item_printf (ItipView *view, ItipViewInfoItemType, const char *format, ...) G_GNUC_PRINTF (3, 4);
void itip_view_remove_upper_info_item (ItipView *view, guint id);
void itip_view_clear_upper_info_items (ItipView *view);
-guint itip_view_add_lower_info_item (ItipView *view, ItipViewInfoItemType, const char *message);
+guint itip_view_add_lower_info_item (ItipView *view, ItipViewInfoItemType type, const char *message);
+guint itip_view_add_lower_info_item_printf (ItipView *view, ItipViewInfoItemType type, const char *format, ...) G_GNUC_PRINTF (3, 4);
void itip_view_remove_lower_info_item (ItipView *view, guint id);
void itip_view_clear_lower_info_items (ItipView *view);