diff options
author | Ted Gould <ted@gould.cx> | 2014-09-17 11:18:57 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2014-09-17 11:18:57 -0500 |
commit | 074949340958b1adccd4fd61fc5bfb338fc57781 (patch) | |
tree | ec6370c1d4dd7f86842a08895dab66d1bc1aaa2a /src/im-accounts-service.c | |
parent | 638d0ad9575f02e8101e864e8d2c8bfa2c85a84f (diff) | |
download | ayatana-indicator-messages-074949340958b1adccd4fd61fc5bfb338fc57781.tar.gz ayatana-indicator-messages-074949340958b1adccd4fd61fc5bfb338fc57781.tar.bz2 ayatana-indicator-messages-074949340958b1adccd4fd61fc5bfb338fc57781.zip |
Put into our namespace
Diffstat (limited to 'src/im-accounts-service.c')
-rw-r--r-- | src/im-accounts-service.c | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/src/im-accounts-service.c b/src/im-accounts-service.c new file mode 100644 index 0000000..f618524 --- /dev/null +++ b/src/im-accounts-service.c @@ -0,0 +1,75 @@ +/* + * Copyright © 2014 Canonical Ltd. + * + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 3, as published + * by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranties of + * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR + * PURPOSE. See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + * + * Authors: + * Ted Gould <ted@canonical.com> + */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "im-accounts-service.h" + +typedef struct _ImAccountsServicePrivate ImAccountsServicePrivate; + +struct _ImAccountsServicePrivate { + int dummy; +}; + +#define IM_ACCOUNTS_SERVICE_GET_PRIVATE(o) \ +(G_TYPE_INSTANCE_GET_PRIVATE ((o), IM_ACCOUNTS_SERVICE_TYPE, ImAccountsServicePrivate)) + +static void im_accounts_service_class_init (ImAccountsServiceClass *klass); +static void im_accounts_service_init (ImAccountsService *self); +static void im_accounts_service_dispose (GObject *object); +static void im_accounts_service_finalize (GObject *object); + +G_DEFINE_TYPE (ImAccountsService, im_accounts_service, G_TYPE_OBJECT); + +static void +im_accounts_service_class_init (ImAccountsServiceClass *klass) +{ + GObjectClass *object_class = G_OBJECT_CLASS (klass); + + g_type_class_add_private (klass, sizeof (ImAccountsServicePrivate)); + + object_class->dispose = im_accounts_service_dispose; + object_class->finalize = im_accounts_service_finalize; +} + +static void +im_accounts_service_init (ImAccountsService *self) +{ +} + +static void +im_accounts_service_dispose (GObject *object) +{ + G_OBJECT_CLASS (im_accounts_service_parent_class)->dispose (object); +} + +static void +im_accounts_service_finalize (GObject *object) +{ + G_OBJECT_CLASS (im_accounts_service_parent_class)->finalize (object); +} + +ImAccountsService * +im_accounts_service_ref_default (void) +{ + + return NULL; +} |