~ubuntu-branches/ubuntu/dapper/lasso/dapper

« back to all changes in this revision

Viewing changes to lasso/id-wsf/personal_profile_service.h

  • Committer: Bazaar Package Importer
  • Author(s): Loic Pefferkorn
  • Date: 2005-11-25 19:20:59 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051125192059-m4894lhpynmkrmwr
Tags: 0.6.3-4ubuntu1
Resynchronise with Debian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $Id: personal_profile_service.h,v 1.14 2005/08/25 07:19:27 fpeters Exp $ 
 
2
 *
 
3
 * Lasso - A free implementation of the Liberty Alliance specifications.
 
4
 *
 
5
 * Copyright (C) 2004, 2005 Entr'ouvert
 
6
 * http://lasso.entrouvert.org
 
7
 * 
 
8
 * Authors: See AUTHORS file in top-level directory.
 
9
 *
 
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.
 
14
 * 
 
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.
 
19
 * 
 
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
 
23
 */
 
24
 
 
25
#ifndef __LASSO_PERSONAL_PROFILE_SERVICE_H__
 
26
#define __LASSO_PERSONAL_PROFILE_SERVICE_H__
 
27
 
 
28
#ifdef __cplusplus
 
29
extern "C" {
 
30
 
 
31
#endif /* __cplusplus */ 
 
32
 
 
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>
 
40
 
 
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)) 
 
52
 
 
53
typedef struct _LassoPersonalProfileService LassoPersonalProfileService;
 
54
typedef struct _LassoPersonalProfileServiceClass LassoPersonalProfileServiceClass;
 
55
typedef struct _LassoPersonalProfileServicePrivate LassoPersonalProfileServicePrivate;
 
56
 
 
57
struct _LassoPersonalProfileService {
 
58
        LassoDataService parent;
 
59
};
 
60
 
 
61
struct _LassoPersonalProfileServiceClass {
 
62
        LassoDataServiceClass parent;
 
63
};
 
64
 
 
65
 
 
66
LASSO_EXPORT GType lasso_personal_profile_service_get_type(void);
 
67
 
 
68
LASSO_EXPORT LassoPersonalProfileService* lasso_personal_profile_service_new(
 
69
                LassoServer *server, LassoDiscoResourceOffering *offering);
 
70
 
 
71
LASSO_EXPORT gchar* lasso_personal_profile_service_get_email(LassoPersonalProfileService *service);
 
72
 
 
73
#ifdef __cplusplus
 
74
}
 
75
#endif /* __cplusplus */
 
76
 
 
77
#endif /* __LASSO_PERSONAL_PROFILE_SERVICE_H__ */