diff options
author | Federico Mena Quintero <federico@helixcode.com> | 2000-08-29 07:27:51 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2000-08-29 07:27:51 +0800 |
commit | 48ff93b64492c08d82e8452cb6b0e94b8582eb3e (patch) | |
tree | cc040d206fa875968c9753a18d510352295887c7 /calendar/cal-client/cal-client.h | |
parent | a4789a176c9b256e018e31ac363ee9847da55500 (diff) | |
download | gsoc2013-evolution-48ff93b64492c08d82e8452cb6b0e94b8582eb3e.tar gsoc2013-evolution-48ff93b64492c08d82e8452cb6b0e94b8582eb3e.tar.gz gsoc2013-evolution-48ff93b64492c08d82e8452cb6b0e94b8582eb3e.tar.bz2 gsoc2013-evolution-48ff93b64492c08d82e8452cb6b0e94b8582eb3e.tar.lz gsoc2013-evolution-48ff93b64492c08d82e8452cb6b0e94b8582eb3e.tar.xz gsoc2013-evolution-48ff93b64492c08d82e8452cb6b0e94b8582eb3e.tar.zst gsoc2013-evolution-48ff93b64492c08d82e8452cb6b0e94b8582eb3e.zip |
New function. We need this from code that dynamically updates from a
2000-08-28 Federico Mena Quintero <federico@helixcode.com>
* cal-client/cal-client.c (cal_client_is_loaded): New function.
We need this from code that dynamically updates from a client and
could not have connected to the "cal_loaded" signal right after
the client was created.
* gui/calendar-model.c (load_objects): Do not try to load the
objects if the client has not been loaded yet.
(cal_loaded_cb): Check the status value.
* gui/calendar-model.h (CalendarModel): Declare the private
structure here so that gdb will give me love.
* pcs/cal-factory.h (CalFactory): Likewise.
* pcs/cal.h (Cal): Likewise.
* cal-client/cal-listener.h (CalListener): Likewise.
* cal-client/cal-client.h (CalClient): Likewise.
* pcs/cal-backend.h (CalBackend): This no longer has a private
structure, so remove it.
* cal-util/Makefile.am (libcal_util_la_SOURCES): Removed the
vCalendar and old iCalendar cruft.
(libcal_utilinclude_HEADERS): Likewise.
Removed the obsolete iCalendar test program.
svn path=/trunk/; revision=5091
Diffstat (limited to 'calendar/cal-client/cal-client.h')
-rw-r--r-- | calendar/cal-client/cal-client.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/calendar/cal-client/cal-client.h b/calendar/cal-client/cal-client.h index 24cc170350..6747c7488e 100644 --- a/calendar/cal-client/cal-client.h +++ b/calendar/cal-client/cal-client.h @@ -40,6 +40,8 @@ BEGIN_GNOME_DECLS typedef struct _CalClient CalClient; typedef struct _CalClientClass CalClientClass; +typedef struct _CalClientPrivate CalClientPrivate; + /* Load status for the cal_loaded signal */ typedef enum { CAL_CLIENT_LOAD_SUCCESS, @@ -59,7 +61,7 @@ struct _CalClient { GtkObject object; /* Private data */ - gpointer priv; + CalClientPrivate *priv; }; struct _CalClientClass { @@ -82,6 +84,8 @@ CalClient *cal_client_new (void); gboolean cal_client_load_calendar (CalClient *client, const char *str_uri); gboolean cal_client_create_calendar (CalClient *client, const char *str_uri); +gboolean cal_client_is_loaded (CalClient *client); + int cal_client_get_n_objects (CalClient *client, CalObjType type); CalClientGetStatus cal_client_get_object (CalClient *client, |