00001 #ifndef __INSTANTIO_STATEKEEPERREGISTRY_H
00002 #define __INSTANTIO_STATEKEEPERREGISTRY_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 _WIN32
00027
00028 #include "InstantIODef.h"
00029 #include <windows.h>
00030
00031
00032 namespace InstantIO
00033 {
00034
00035
00036 class Namespace;
00037
00038
00046 class INSTANTIO_DLLMAPPING StateKeeperRegistry
00047 {
00048 public:
00049
00058 static void save(Namespace &ns, HKEY hKey);
00059
00068 static void load(Namespace &ns, HKEY hKey)
00069 ;
00070
00071 private:
00072
00074 StateKeeperRegistry();
00075
00077 StateKeeperRegistry(const StateKeeperRegistry &);
00078
00080 const StateKeeperRegistry &operator=(const StateKeeperRegistry &);
00081
00085 static void internalSave(Namespace &ns, HKEY hKey);
00086
00090 static void internalLoad(Namespace &ns, HKEY hKey)
00091 ;
00092 };
00093
00094
00095 }
00096
00097
00098 #endif // _WIN32
00099
00100 #endif // __INSTANTIO_STATEKEEPERREGISTRY_H