author | zautrix <zautrix> | 2004-06-29 11:59:46 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-06-29 11:59:46 (UTC) |
commit | da43dbdc6c82453228f34766fc74585615cba938 (patch) (unidiff) | |
tree | 16576932cea08bf117b2d0320b0d5f66ee8ad093 /libical/src/libicalss/icalcluster.h | |
parent | 627489ea2669d3997676bc3cee0f5d0d0c16c4d4 (diff) | |
download | kdepimpi-da43dbdc6c82453228f34766fc74585615cba938.zip kdepimpi-da43dbdc6c82453228f34766fc74585615cba938.tar.gz kdepimpi-da43dbdc6c82453228f34766fc74585615cba938.tar.bz2 |
New lib ical.Some minor changes as well.
Diffstat (limited to 'libical/src/libicalss/icalcluster.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libical/src/libicalss/icalcluster.h | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/libical/src/libicalss/icalcluster.h b/libical/src/libicalss/icalcluster.h new file mode 100644 index 0000000..f4eb041 --- a/dev/null +++ b/libical/src/libicalss/icalcluster.h | |||
@@ -0,0 +1,61 @@ | |||
1 | /* -*- Mode: C -*- */ | ||
2 | /*====================================================================== | ||
3 | FILE: icalcluster.h | ||
4 | CREATOR: eric 23 December 1999 | ||
5 | |||
6 | |||
7 | $Id$ | ||
8 | $Locker$ | ||
9 | |||
10 | (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org | ||
11 | |||
12 | This program is free software; you can redistribute it and/or modify | ||
13 | it under the terms of either: | ||
14 | |||
15 | The LGPL as published by the Free Software Foundation, version | ||
16 | 2.1, available at: http://www.fsf.org/copyleft/lesser.html | ||
17 | |||
18 | Or: | ||
19 | |||
20 | The Mozilla Public License Version 1.0. You may obtain a copy of | ||
21 | the License at http://www.mozilla.org/MPL/ | ||
22 | |||
23 | The Original Code is eric. The Initial Developer of the Original | ||
24 | Code is Eric Busboom | ||
25 | |||
26 | |||
27 | ======================================================================*/ | ||
28 | |||
29 | #ifndef ICALCLUSTER_H | ||
30 | #define ICALCLUSTER_H | ||
31 | |||
32 | #include "ical.h" | ||
33 | #include "icalset.h" | ||
34 | |||
35 | typedef struct icalcluster_impl icalcluster; | ||
36 | |||
37 | icalcluster* icalcluster_new(const char *key, icalcomponent *data); | ||
38 | icalcluster* icalcluster_new_clone(const icalcluster *cluster); | ||
39 | |||
40 | void icalcluster_free(icalcluster *cluster); | ||
41 | |||
42 | const char* icalcluster_key(icalcluster *cluster); | ||
43 | int icalcluster_is_changed(icalcluster *cluster); | ||
44 | void icalcluster_mark(icalcluster *cluster); | ||
45 | void icalcluster_commit(icalcluster *cluster); | ||
46 | |||
47 | icalcomponent* icalcluster_get_component(icalcluster* cluster); | ||
48 | int icalcluster_count_components(icalcluster *cluster, icalcomponent_kind kind); | ||
49 | icalerrorenum icalcluster_add_component(icalcluster* cluster, | ||
50 | icalcomponent* child); | ||
51 | icalerrorenum icalcluster_remove_component(icalcluster* cluster, | ||
52 | icalcomponent* child); | ||
53 | |||
54 | icalcomponent* icalcluster_get_current_component(icalcluster* cluster); | ||
55 | icalcomponent* icalcluster_get_first_component(icalcluster* cluster); | ||
56 | icalcomponent* icalcluster_get_next_component(icalcluster* cluster); | ||
57 | |||
58 | #endif /* !ICALCLUSTER_H */ | ||
59 | |||
60 | |||
61 | |||