1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
3
* Copyright (C) 2007 William Jon McCann <mccann@jhu.edu>
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 2 of the License, or
8
* (at your option) any later version.
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
15
* You should have received a copy of the GNU General Public License
16
* along with this program; if not, see <http://www.gnu.org/licenses/>.
20
#ifndef __GSD_SHARING_MANAGER_H
21
#define __GSD_SHARING_MANAGER_H
23
#include <glib-object.h>
27
#define GSD_TYPE_SHARING_MANAGER (gsd_sharing_manager_get_type ())
28
#define GSD_SHARING_MANAGER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSD_TYPE_SHARING_MANAGER, GsdSharingManager))
29
#define GSD_SHARING_MANAGER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GSD_TYPE_SHARING_MANAGER, GsdSharingManagerClass))
30
#define GSD_IS_SHARING_MANAGER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSD_TYPE_SHARING_MANAGER))
31
#define GSD_IS_SHARING_MANAGER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GSD_TYPE_SHARING_MANAGER))
32
#define GSD_SHARING_MANAGER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GSD_TYPE_SHARING_MANAGER, GsdSharingManagerClass))
34
typedef struct GsdSharingManagerPrivate GsdSharingManagerPrivate;
39
GsdSharingManagerPrivate *priv;
44
GObjectClass parent_class;
45
} GsdSharingManagerClass;
47
GType gsd_sharing_manager_get_type (void);
49
GsdSharingManager * gsd_sharing_manager_new (void);
50
gboolean gsd_sharing_manager_start (GsdSharingManager *manager,
52
void gsd_sharing_manager_stop (GsdSharingManager *manager);
56
#endif /* __GSD_SHARING_MANAGER_H */