1 #ifndef K_FIRESYNC_PROPERTY_LIST_H
2 #define K_FIRESYNC_PROPERTY_LIST_H
10 kDeclareClass(kFs, kPropertyList,
kObject)
11 kDeclareValue(kFs, kPropertyListProperty,
kValue)
13 kFsFx(
kStatus) kPropertyList_Construct(kPropertyList*
id,
kAlloc alloc);
15 kFsFx(
kStatus) kPropertyList_Read(kPropertyList
id,
kXml xml);
16 kFsFx(
kStatus) kPropertyList_Write(kPropertyList
id,
kXml xml);
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);
23 kFsFx(
kStatus) kPropertyList_Delete(kPropertyList
id, const
kChar* name);
24 kFsFx(
kStatus) kPropertyList_Clear(kPropertyList
id);
26 kFsFx(
kSize) kPropertyList_Count(kPropertyList
id);
27 kFsFx(const
kChar*) kPropertyList_NameAt(kPropertyList
id,
kSize index);
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);
Essential API declarations for the kFireSync library.