1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
3
* Authors: Alejandro J. Cura <alecu@canonical.com>
5
* Copyright (C) 2010 Canonical Ltd.
7
* This program is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License version 3,
9
* as published by the Free Software Foundation.
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22
#ifndef __GSD_UBUNTUONE_H__
23
#define __GSD_UBUNTUONE_H__
26
#include <glib-object.h>
29
#include "gnome-settings-daemon/gnome-settings-plugin.h"
30
#include <libsyncdaemon/libsyncdaemon.h>
34
#define GSD_TYPE_UBUNTUONE (gsd_ubuntuone_get_type ())
35
#define GSD_UBUNTUONE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GSD_TYPE_UBUNTUONE, GsdUbuntuOne))
36
#define GSD_UBUNTUONE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GSD_TYPE_UBUNTUONE, GsdUbuntuOneClass))
37
#define GSD_IS_UBUNTUONE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GSD_TYPE_UBUNTUONE))
38
#define GSD_IS_UBUNTUONE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GSD_TYPE_UBUNTUONE))
39
#define GSD_UBUNTUONE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GSD_TYPE_UBUNTUONE, GsdUbuntuOneClass))
41
typedef struct _GsdUbuntuOne GsdUbuntuOne;
42
typedef struct _GsdUbuntuOneClass GsdUbuntuOneClass;
46
GnomeSettingsPlugin parent_instance;
49
SyncdaemonDaemon *syncdaemon;
52
struct _GsdUbuntuOneClass
54
GnomeSettingsPluginClass parent_class;
57
GType gsd_ubuntuone_get_type (void);
58
G_MODULE_EXPORT GType register_gnome_settings_plugin (GTypeModule *module);
60
void gsd_ubuntuone_activate (GnomeSettingsPlugin *gsp_object);