~ubuntu-branches/ubuntu/precise/ubuntuone-client/precise-201112142106

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Rodney Dawes
  • Date: 2011-08-09 12:47:56 UTC
  • mfrom: (1.1.53 upstream)
  • Revision ID: james.westby@ubuntu.com-20110809124756-7nzilp3oix0a1yl9
Tags: 1.7.1-0ubuntu1
* New upstream release.
* debian/*:
  - Removed obsolete pycompat file
  - Removed ubuntuone-client-gnome deps and binary packaging, as it was
    moved out to separate project upstream.
  - Updated copyright to remove obsolete file reference
* debian/patches:
  - Removed patches which have been included upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
2
 
 *
3
 
 * Authors: Alejandro J. Cura <alecu@canonical.com>
4
 
 *
5
 
 * Copyright (C) 2010 Canonical Ltd.
6
 
 *
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.
10
 
 *
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.
15
 
 *
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.
19
 
 *
20
 
 */
21
 
 
22
 
#ifndef __GSD_UBUNTUONE_H__
23
 
#define __GSD_UBUNTUONE_H__
24
 
 
25
 
#include <glib.h>
26
 
#include <glib-object.h>
27
 
#include <gmodule.h>
28
 
 
29
 
#include "gnome-settings-daemon/gnome-settings-plugin.h"
30
 
#include <libsyncdaemon/libsyncdaemon.h>
31
 
 
32
 
G_BEGIN_DECLS
33
 
 
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))
40
 
 
41
 
typedef struct _GsdUbuntuOne GsdUbuntuOne;
42
 
typedef struct _GsdUbuntuOneClass GsdUbuntuOneClass;
43
 
 
44
 
struct _GsdUbuntuOne
45
 
{
46
 
        GnomeSettingsPlugin parent_instance;
47
 
 
48
 
        /*< private >*/
49
 
        SyncdaemonDaemon *syncdaemon;
50
 
};
51
 
 
52
 
struct _GsdUbuntuOneClass
53
 
{
54
 
        GnomeSettingsPluginClass parent_class;
55
 
};
56
 
 
57
 
GType gsd_ubuntuone_get_type (void);
58
 
G_MODULE_EXPORT GType register_gnome_settings_plugin (GTypeModule *module);
59
 
 
60
 
void gsd_ubuntuone_activate (GnomeSettingsPlugin *gsp_object);
61
 
 
62
 
G_END_DECLS
63
 
 
64
 
#endif