Fixing saving GUI prefs in the Tester plugin -- not part of the build

git-svn-id: svn://10.0.0.236/trunk@111429 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
av%netscape.com
2002-01-05 22:25:32 +00:00
parent 335852fdea
commit c14ca63dfd
4 changed files with 66 additions and 18 deletions

View File

@@ -46,6 +46,16 @@ typedef enum
sg_auto
} ShowGUI;
typedef enum
{
gp_mode = 1,
gp_logfile,
gp_scriptfile,
gp_tofile,
gp_toframe,
gp_flush
}GUIPrefs;
class CPlugin : public CPluginBase
{
private:
@@ -107,6 +117,7 @@ public:
// utilities
void restorePreferences();
void savePreferences();
void updatePrefs(GUIPrefs prefs, int iValue, char * szValue = NULL);
// Window message handlers
void onInit(HWND hWnd, HWND hWndManual, HWND hWndAuto);