FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kPropertyList.h
1 #ifndef K_FIRESYNC_PROPERTY_LIST_H
2 #define K_FIRESYNC_PROPERTY_LIST_H
3 
4 #include <kFireSync/kFsDef.h>
5 
6 kBeginHeader()
7 
8 //typedef kObject kPropertyList; --forward-declared in kFsDef.x.h
9 
10 kDeclareClass(kFs, kPropertyList, kObject)
11 kDeclareValue(kFs, kPropertyListProperty, kValue)
12 
13 kFsFx(kStatus) kPropertyList_Construct(kPropertyList* id, kAlloc alloc);
14 
15 kFsFx(kStatus) kPropertyList_Read(kPropertyList id, kXml xml);
16 kFsFx(kStatus) kPropertyList_Write(kPropertyList id, kXml xml);
17 
18 kFsFx(kStatus) kPropertyList_SetText(kPropertyList id, const kChar* name, const kChar* value);
19 kFsFx(kStatus) kPropertyList_SetInt(kPropertyList id, const kChar* name, k64s value);
20 kFsFx(kStatus) kPropertyList_SetFloat(kPropertyList id, const kChar* name, k64f value);
21 kFsFx(kStatus) kPropertyList_SetVersion(kPropertyList id, const kChar* name, kVersion version);
22 
23 kFsFx(kStatus) kPropertyList_Delete(kPropertyList id, const kChar* name);
24 kFsFx(kStatus) kPropertyList_Clear(kPropertyList id);
25 
26 kFsFx(kSize) kPropertyList_Count(kPropertyList id);
27 kFsFx(const kChar*) kPropertyList_NameAt(kPropertyList id, kSize index);
28 
29 kFsFx(kBool) kPropertyList_Exists(kPropertyList id, const kChar* name);
30 kFsFx(const kChar*) kPropertyList_Text(kPropertyList id, const kChar* name);
31 kFsFx(k64s) kPropertyList_Int(kPropertyList id, const kChar* name);
32 kFsFx(k64f) kPropertyList_Float(kPropertyList id, const kChar* name);
33 kFsFx(kVersion) kPropertyList_Version(kPropertyList id, const kChar* name);
34 
35 kEndHeader()
36 
37 #endif
Essential API declarations for the kFireSync library.