1
/* $Id: personal_profile_service.h,v 1.14 2005/08/25 07:19:27 fpeters Exp $
3
* Lasso - A free implementation of the Liberty Alliance specifications.
5
* Copyright (C) 2004, 2005 Entr'ouvert
6
* http://lasso.entrouvert.org
8
* Authors: See AUTHORS file in top-level directory.
10
* This program is free software; you can redistribute it and/or modify
11
* it under the terms of the GNU General Public License as published by
12
* the Free Software Foundation; either version 2 of the License, or
13
* (at your option) any later version.
15
* This program is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
* GNU General Public License for more details.
20
* You should have received a copy of the GNU General Public License
21
* along with this program; if not, write to the Free Software
22
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25
#ifndef __LASSO_PERSONAL_PROFILE_SERVICE_H__
26
#define __LASSO_PERSONAL_PROFILE_SERVICE_H__
31
#endif /* __cplusplus */
33
#include <lasso/id-wsf/data_service.h>
34
#include <lasso/xml/disco_resource_id.h>
35
#include <lasso/xml/disco_encrypted_resource_id.h>
36
#include <lasso/xml/dst_data.h>
37
#include <lasso/xml/dst_modification.h>
38
#include <lasso/xml/dst_query_item.h>
39
#include <lasso/xml/disco_resource_offering.h>
41
#define LASSO_TYPE_PERSONAL_PROFILE_SERVICE (lasso_personal_profile_service_get_type())
42
#define LASSO_PERSONAL_PROFILE_SERVICE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
43
LASSO_TYPE_PERSONAL_PROFILE_SERVICE, LassoPersonalProfileService))
44
#define LASSO_PERSONAL_PROFILE_SERVICE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
45
LASSO_TYPE_PERSONAL_PROFILE_SERVICE, LassoPersonalProfileServiceClass))
46
#define LASSO_IS_PERSONAL_PROFILE_SERVICE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
47
LASSO_TYPE_PERSONAL_PROFILE_SERVICE))
48
#define LASSO_IS_PERSONAL_PROFILE_SERVICE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), \
49
LASSO_TYPE_PERSONAL_PROFILE_SERVICE))
50
#define LASSO_PERSONAL_PROFILE_SERVICE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), \
51
LASSO_TYPE_PERSONAL_PROFILE_SERVICE, LassoPersonalProfileServiceClass))
53
typedef struct _LassoPersonalProfileService LassoPersonalProfileService;
54
typedef struct _LassoPersonalProfileServiceClass LassoPersonalProfileServiceClass;
55
typedef struct _LassoPersonalProfileServicePrivate LassoPersonalProfileServicePrivate;
57
struct _LassoPersonalProfileService {
58
LassoDataService parent;
61
struct _LassoPersonalProfileServiceClass {
62
LassoDataServiceClass parent;
66
LASSO_EXPORT GType lasso_personal_profile_service_get_type(void);
68
LASSO_EXPORT LassoPersonalProfileService* lasso_personal_profile_service_new(
69
LassoServer *server, LassoDiscoResourceOffering *offering);
71
LASSO_EXPORT gchar* lasso_personal_profile_service_get_email(LassoPersonalProfileService *service);
75
#endif /* __cplusplus */
77
#endif /* __LASSO_PERSONAL_PROFILE_SERVICE_H__ */