2
* Copyright (C) 2010-2011 Robert Ancell.
3
* Author: Robert Ancell <robert.ancell@canonical.com>
5
* This program is free software: you can redistribute it and/or modify it under
6
* the terms of the GNU General Public License as published by the Free Software
7
* Foundation, either version 3 of the License, or (at your option) any later
8
* version. See http://www.gnu.org/copyleft/gpl.html the full text of the
12
#ifndef _GUEST_MANAGER_H_
13
#define _GUEST_MANAGER_H_
15
#include <glib-object.h>
19
#define GUEST_MANAGER_TYPE (guest_manager_get_type())
20
#define GUEST_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GUEST_MANAGER_TYPE, GuestManager))
22
typedef struct GuestManagerPrivate GuestManagerPrivate;
26
GObject parent_instance;
27
GuestManagerPrivate *priv;
32
GObjectClass parent_class;
35
GType guest_manager_get_type (void);
37
GuestManager *guest_manager_new (GKeyFile *config);
39
gboolean guest_manager_get_is_enabled (GuestManager *manager);
41
gchar *guest_manager_add_account (GuestManager *manager);
43
void guest_manager_remove_account (GuestManager *manager, const gchar *username);
47
#endif /* _GUEST_MANAGER_H_ */