~mardy/indicator-session/online-accounts

« back to all changes in this revision

Viewing changes to src/online-accounts-mgr.h

  • Committer: Alberto Mardegan
  • Date: 2012-08-21 07:38:09 UTC
  • Revision ID: alberto.mardegan@canonical.com-20120821073809-sd1jotl46jdre1ee
Class rename

Rename the class from Webcredentials to OnlineAccounts, for improved
consistency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
with this program.  If not, see <http://www.gnu.org/licenses/>.
18
18
*/
19
19
 
20
 
#ifndef _WEBCREDENTIALS_MGR_H_
21
 
#define _WEBCREDENTIALS_MGR_H_
 
20
#ifndef _ONLINE_ACCOUNTS_MGR_H_
 
21
#define _ONLINE_ACCOUNTS_MGR_H_
22
22
 
23
23
#include <glib-object.h>
24
24
#include <libdbusmenu-glib/menuitem.h>
25
25
 
26
26
G_BEGIN_DECLS
27
27
 
28
 
#define WEBCREDENTIALS_TYPE_MGR             (webcredentials_mgr_get_type ())
29
 
#define WEBCREDENTIALS_MGR(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), WEBCREDENTIALS_TYPE_MGR, WebcredentialsMgr))
30
 
#define WEBCREDENTIALS_MGR_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), WEBCREDENTIALS_TYPE_MGR, WebcredentialsMgrClass))
31
 
#define WEBCREDENTIALS_IS_MGR(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), WEBCREDENTIALS_TYPE_MGR))
32
 
#define WEBCREDENTIALS_IS_MGR_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), WEBCREDENTIALS_TYPE_MGR))
33
 
#define WEBCREDENTIALS_MGR_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), WEBCREDENTIALS_TYPE_MGR, WebcredentialsMgrClass))
34
 
 
35
 
typedef struct _WebcredentialsMgrClass WebcredentialsMgrClass;
36
 
typedef struct _WebcredentialsMgr WebcredentialsMgr;
37
 
 
38
 
struct _WebcredentialsMgrClass
 
28
#define ONLINE_ACCOUNTS_TYPE_MGR             (online_accounts_mgr_get_type ())
 
29
#define ONLINE_ACCOUNTS_MGR(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), ONLINE_ACCOUNTS_TYPE_MGR, OnlineAccountsMgr))
 
30
#define ONLINE_ACCOUNTS_MGR_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), ONLINE_ACCOUNTS_TYPE_MGR, OnlineAccountsMgrClass))
 
31
#define ONLINE_ACCOUNTS_IS_MGR(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ONLINE_ACCOUNTS_TYPE_MGR))
 
32
#define ONLINE_ACCOUNTS_IS_MGR_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), ONLINE_ACCOUNTS_TYPE_MGR))
 
33
#define ONLINE_ACCOUNTS_MGR_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), ONLINE_ACCOUNTS_TYPE_MGR, OnlineAccountsMgrClass))
 
34
 
 
35
typedef struct _OnlineAccountsMgrClass OnlineAccountsMgrClass;
 
36
typedef struct _OnlineAccountsMgr OnlineAccountsMgr;
 
37
 
 
38
struct _OnlineAccountsMgrClass
39
39
{
40
40
  GObjectClass parent_class;
41
41
};
42
42
 
43
 
GType webcredentials_mgr_get_type (void) G_GNUC_CONST;
44
 
WebcredentialsMgr *webcredentials_mgr_new (void);
 
43
GType online_accounts_mgr_get_type (void) G_GNUC_CONST;
 
44
OnlineAccountsMgr *online_accounts_mgr_new (void);
45
45
 
46
 
DbusmenuMenuitem *webcredentials_mgr_get_menu_item (WebcredentialsMgr *self);
 
46
DbusmenuMenuitem *online_accounts_mgr_get_menu_item (OnlineAccountsMgr *self);
47
47
 
48
48
G_END_DECLS
49
49
 
50
 
#endif /* _WEBCREDENTIALS_MGR_H_ */
 
50
#endif /* _ONLINE_ACCOUNTS_MGR_H_ */