Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

GUI/Widgets/vtkKWWin32RegistryHelper.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Module:    $RCSfile: vtkKWWin32RegistryHelper.h,v $
00004 
00005   Copyright (c) Kitware, Inc.
00006   All rights reserved.
00007   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00008 
00009      This software is distributed WITHOUT ANY WARRANTY; without even
00010      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00011      PURPOSE.  See the above copyright notice for more information.
00012 
00013 =========================================================================*/
00022 #ifndef __vtkKWWin32RegistryHelper_h
00023 #define __vtkKWWin32RegistryHelper_h
00024 
00025 #include "vtkKWRegistryHelper.h"
00026 #include "vtkWindows.h" // needed for HKEY
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&); // Not implemented
00060   void operator=(const vtkKWWin32RegistryHelper&); // Not implemented
00061 };
00062 
00063 #endif
00064 
00065 
00066 

Generated on Tue May 30 12:31:45 2006 for ParaView by doxygen 1.3.5