diff options
-rw-r--r-- | src/status-provider-pidgin.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/status-provider-pidgin.c b/src/status-provider-pidgin.c index 16fbb69..a0a2ba1 100644 --- a/src/status-provider-pidgin.c +++ b/src/status-provider-pidgin.c @@ -12,10 +12,15 @@ struct _StatusProviderPidginPrivate { #define STATUS_PROVIDER_PIDGIN_GET_PRIVATE(o) \ (G_TYPE_INSTANCE_GET_PRIVATE ((o), STATUS_PROVIDER_PIDGIN_TYPE, StatusProviderPidginPrivate)) +/* Prototypes */ +/* GObject stuff */ static void status_provider_pidgin_class_init (StatusProviderPidginClass *klass); static void status_provider_pidgin_init (StatusProviderPidgin *self); static void status_provider_pidgin_dispose (GObject *object); static void status_provider_pidgin_finalize (GObject *object); +/* Internal Funcs */ +static void set_status (StatusProvider * sp, StatusProviderStatus status); +static StatusProviderStatus get_status (StatusProvider * sp); G_DEFINE_TYPE (StatusProviderPidgin, status_provider_pidgin, STATUS_PROVIDER_TYPE); @@ -29,6 +34,11 @@ status_provider_pidgin_class_init (StatusProviderPidginClass *klass) object_class->dispose = status_provider_pidgin_dispose; object_class->finalize = status_provider_pidgin_finalize; + StatusProviderClass * spclass = STATUS_PROVIDER_CLASS(klass); + + spclass->set_status = set_status; + spclass->get_status = get_status; + return; } @@ -54,3 +64,17 @@ status_provider_pidgin_finalize (GObject *object) G_OBJECT_CLASS (status_provider_pidgin_parent_class)->finalize (object); return; } + +static void +set_status (StatusProvider * sp, StatusProviderStatus status) +{ + + return; +} + +static StatusProviderStatus +get_status (StatusProvider * sp) +{ + + return STATUS_PROVIDER_STATUS_OFFLINE; +} |