00001 #ifndef __INSTANTIO_STATEKEEPERPLIST_H
00002 #define __INSTANTIO_STATEKEEPERPLIST_H
00003
00004 #ifdef _MSC_VER
00005 # pragma once
00006 #endif
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifdef __APPLE__
00027
00028 #include "InstantIODef.h"
00029 #include <CoreFoundation/CoreFoundation.h>
00030
00031
00032 namespace InstantIO
00033 {
00034
00035
00036 class Namespace;
00037
00038
00046 class StateKeeperPlist
00047 {
00048 public:
00049
00058 static CFPropertyListRef save(Namespace &ns);
00059
00068 static void load(Namespace &ns, CFPropertyListRef plist)
00069 ;
00070
00071 private:
00072
00074 StateKeeperPlist();
00075
00077 StateKeeperPlist(const StateKeeperPlist &);
00078
00080 const StateKeeperPlist &operator=(const StateKeeperPlist &);
00081
00085 static void save(Namespace &ns, CFMutableDictionaryRef dict);
00086
00090 static void load(Namespace &ns, CFDictionaryRef dict)
00091 ;
00092 };
00093
00094
00095 }
00096
00097
00098 #endif // __APPLE__
00099
00100 #endif // __INSTANTIO_STATEKEEPERPLIST_H