10969
|
1
|
|
2 /*
|
|
3 Meanwhile - Unofficial Lotus Sametime Community Client Library
|
|
4 Copyright (C) 2004 Christopher (siege) O'Brien
|
|
5
|
|
6 This library is free software; you can redistribute it and/or
|
|
7 modify it under the terms of the GNU Library General Public
|
|
8 License as published by the Free Software Foundation; either
|
|
9 version 2 of the License, or (at your option) any later version.
|
|
10
|
|
11 This library is distributed in the hope that it will be useful,
|
|
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
14 Library General Public License for more details.
|
|
15
|
|
16 You should have received a copy of the GNU Library General Public
|
|
17 License along with this library; if not, write to the Free
|
|
18 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
19 */
|
|
20
|
|
21 #ifndef _MW_SRVC_PLACE_H
|
|
22 #define _MW_SRVC_PLACE_H
|
|
23
|
|
24
|
|
25 #include <glib/glist.h>
|
|
26 #include "mw_common.h"
|
|
27
|
|
28
|
|
29 /** Type identifier for the place service */
|
|
30 #define SERVICE_PLACE 0x80000022
|
|
31
|
|
32
|
|
33 /** @struct mwServicePlace */
|
|
34 struct mwServicePlace;
|
|
35
|
|
36
|
|
37 /** @struct mwPlace */
|
|
38 struct mwPlace;
|
|
39
|
|
40
|
|
41 /** @struct mwPlaceSection */
|
|
42 struct mwPlaceSection;
|
|
43
|
|
44
|
|
45 /** @struct mwPlaceAction */
|
|
46 struct mwPlaceAction;
|
|
47
|
|
48
|
|
49 struct mwPlaceHandler {
|
|
50
|
|
51 };
|
|
52
|
|
53
|
|
54 struct mwServicePlace *mwServicePlace_new(struct mwSession *session,
|
|
55 struct mwPlaceHandler *handler);
|
|
56
|
|
57
|
|
58 struct mwPlace *mwPlace_new(struct mwServicePlace *place,
|
|
59 const char *title, const char *name);
|
|
60
|
|
61
|
|
62 int mwPlace_open(struct mwPlace *place);
|
|
63
|
|
64
|
|
65 int mwPlace_close(struct mwPlace *place);
|
|
66
|
|
67
|
|
68 void mwPlace_free(struct mwPlace *place);
|
|
69
|
|
70
|
|
71 const GList *mwPlace_getSections(struct mwPlace *place);
|