mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-07 22:34:18 +01:00
more code for proplist handling
This commit is contained in:
@@ -737,6 +737,46 @@ void WMEnqueueCoalesceNotification(WMNotificationQueue *queue,
|
||||
unsigned coalesceMask);
|
||||
|
||||
|
||||
/*......................................................................*/
|
||||
|
||||
/* Property Lists handling */
|
||||
|
||||
void WMSetPropListStringComparer(WMCompareDataProc *comparer);
|
||||
|
||||
WMPropList* WMCreatePropListString(char *str);
|
||||
|
||||
WMPropList* WMCreatePropListDataWithBytes(unsigned char *bytes,
|
||||
unsigned int length);
|
||||
WMPropList* WMCreatePropListDataWithBytesNoCopy(unsigned char *bytes,
|
||||
unsigned int length,
|
||||
WMFreeDataProc *destructor);
|
||||
|
||||
WMPropList* WMCreatePropListDataWithData(WMData *data);
|
||||
|
||||
WMPropList* WMCreatePropListArrayFromElements(WMPropList *elem, ...);
|
||||
|
||||
WMPropList* WMCreatePropListDictionaryFromEntries(WMPropList *key,
|
||||
WMPropList *value, ...);
|
||||
|
||||
WMPropList* WMRetainPropList(WMPropList *plist);
|
||||
|
||||
void WMReleasePropList(WMPropList *plist);
|
||||
|
||||
Bool WMPropListIsString(WMPropList *plist);
|
||||
|
||||
Bool WMPropListIsData(WMPropList *plist);
|
||||
|
||||
Bool WMPropListIsArray(WMPropList *plist);
|
||||
|
||||
Bool WMPropListIsDictionary(WMPropList *plist);
|
||||
|
||||
Bool WMPropListIsSimple(WMPropList *plist);
|
||||
|
||||
Bool WMPropListIsCompound(WMPropList *plist);
|
||||
|
||||
Bool WMArePropListsEqual(WMPropList *plist, WMPropList *other);
|
||||
|
||||
|
||||
/*......................................................................*/
|
||||
|
||||
WMUserDefaults* WMGetStandardUserDefaults(void);
|
||||
|
||||
Reference in New Issue
Block a user