00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00022 #ifndef __vtkKWWin32RegistryHelper_h
00023 #define __vtkKWWin32RegistryHelper_h
00024
00025 #include "vtkKWRegistryHelper.h"
00026 #include "vtkWindows.h"
00027
00028 class KWWIDGETS_EXPORT vtkKWWin32RegistryHelper : public vtkKWRegistryHelper
00029 {
00030 public:
00031 static vtkKWWin32RegistryHelper* New();
00032 vtkTypeRevisionMacro(vtkKWWin32RegistryHelper, vtkKWRegistryHelper);
00033 void PrintSelf(ostream& os, vtkIndent indent);
00034
00036 virtual int ReadValueInternal(const char *key, char *value);
00037
00039 virtual int DeleteKeyInternal(const char *key);
00040
00042 virtual int DeleteValueInternal(const char *key);
00043
00045 virtual int SetValueInternal(const char *key, const char *value);
00046
00048 virtual int OpenInternal(const char *toplevel, const char *subkey, int readonly);
00049
00051 virtual int CloseInternal();
00052
00053 protected:
00054 vtkKWWin32RegistryHelper();
00055 virtual ~vtkKWWin32RegistryHelper();
00056
00057 private:
00058 HKEY HKey;
00059 vtkKWWin32RegistryHelper(const vtkKWWin32RegistryHelper&);
00060 void operator=(const vtkKWWin32RegistryHelper&);
00061 };
00062
00063 #endif
00064
00065
00066