~rodrigo-moya/ubuntuone-client/fix-617656

« back to all changes in this revision

Viewing changes to gsd-plugin/gsd-ubuntuone.h

  • Committer: Alejandro J. Cura
  • Date: 2010-07-14 04:11:20 UTC
  • mto: This revision was merged to the branch mainline in revision 578.
  • Revision ID: alecu@canonical.com-20100714041120-va8cjghubtb01s03
starting from scratch

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __GSD_UBUNTUONE_H__
 
2
#define __GSD_UBUNTUONE_H__
 
3
 
 
4
#include <glib.h>
 
5
#include <glib-object.h>
 
6
#include <gmodule.h>
 
7
 
 
8
#include "gnome-settings-daemon/gnome-settings-plugin.h"
 
9
 
 
10
#include <libsyncdaemon/syncdaemon-publicfiles-interface.h>
 
11
 
 
12
G_BEGIN_DECLS
 
13
 
 
14
#define GSD_TYPE_UBUNTUONE                (gsd_ubuntuone_get_type ())
 
15
#define GSD_UBUNTUONE(obj)                (G_TYPE_CHECK_INSTANCE_CAST ((obj), GSD_TYPE_UBUNTUONE, GsdUbuntuOne))
 
16
#define GSD_UBUNTUONE_CLASS(klass)        (G_TYPE_CHECK_CLASS_CAST((klass), GSD_TYPE_UBUNTUONE, GsdUbuntuOneClass))
 
17
#define GSD_IS_UBUNTUONE(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GSD_TYPE_UBUNTUONE))
 
18
#define GSD_IS_UBUNTUONE_CLASS(klass)     (G_TYPE_CHECK_CLASS_TYPE ((klass), GSD_TYPE_UBUNTUONE))
 
19
#define GSD_UBUNTUONE_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS ((obj), GSD_TYPE_UBUNTUONE, GsdUbuntuOneClass))
 
20
 
 
21
typedef struct _GsdUbuntuOne GsdUbuntuOne;
 
22
typedef struct _GsdUbuntuOneClass GsdUbuntuOneClass;
 
23
 
 
24
struct _GsdUbuntuOne
 
25
{
 
26
        GnomeSettingsPlugin parent_instance;
 
27
 
 
28
        /*< private >*/
 
29
        SyncdaemonDaemon *syncdaemon;
 
30
        GtkDialog *out_of_space_dialog;
 
31
};
 
32
 
 
33
struct _GsdUbuntuOneClass
 
34
{
 
35
        GnomeSettingsPluginClass parent_class;
 
36
};
 
37
 
 
38
GType gsd_ubuntuone_get_type (void);
 
39
G_MODULE_EXPORT GType register_gnome_settings_plugin (GTypeModule *module);
 
40
 
 
41
void gsd_ubuntuone_activate (GnomeSettingsPlugin *gsp_object);
 
42
 
 
43
G_END_DECLS
 
44
 
 
45
#endif