00001
00002
00003
00004
00005
00006 #if !defined(AFX_VMSMOZILLAPREFS_H__7F8AC419_31D2_40FF_BF85_7A989BBE494D__INCLUDED_)
00007 #define AFX_VMSMOZILLAPREFS_H__7F8AC419_31D2_40FF_BF85_7A989BBE494D__INCLUDED_
00008
00009 #if _MSC_VER > 1000
00010 #pragma once
00011 #endif
00012
00013 #include <windows.h>
00014 #include "fsString.h"
00015
00016 #define MOZILLAPREFS_VALUE_NOT_FOUND "vmsMozillaPrefs::value not found"
00017 #define MOZILLAPREFS_UNEXPECTED_ERROR "vmsMozillaPrefs::unexp error"
00018
00019 class vmsMozillaPrefs
00020 {
00021 public:
00022
00023 bool LoadPrefs (LPCSTR pszFile);
00024
00025 fsString get_Value (LPCSTR pszPrefName) const;
00026
00027 void Free();
00028
00029 vmsMozillaPrefs();
00030 virtual ~vmsMozillaPrefs();
00031
00032 protected:
00033
00034 fsString m_strPrefs;
00035 };
00036
00037 #endif