RegWrap.h

Go to the documentation of this file.
00001 #pragma once
00002 #include <shlwapi.h>
00003 
00004 //This class really shouldn't be part of this project, but i got lazy !
00005 //This is a pretty inefficient way to do it but its easy.
00006 
00007 #include <string>
00008 using namespace std;
00009 class OGG_DEMUX2_API RegWrap
00010 {
00011 public:
00012         RegWrap(void);
00013         ~RegWrap(void);
00014 
00015         static LONG             addKeyVal(HKEY inHive, string inKeyName, string inValueName, string inValue);
00016         static bool             valueExists(HKEY inHive, string inKeyName, string inValueName);
00017         static string   findNextEmptyMediaPlayerDesc();
00018         static bool             addMediaPlayerDesc(string inDesc, string inExts);
00019         static bool             removeKeyVal(HKEY inHive, string inKeyName, string inValueName);
00020         static bool             removeMediaDesc();
00021         static bool             deleteKeyRecurse(HKEY inHive, string inKeyName, string inSubKeyToDelete);
00022 };

Generated on Thu Feb 16 23:48:13 2006 for oggdsf by  doxygen 1.3.9