Updated Windows port for the recent changes to the Settings class.

git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@188 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2003-09-23 19:41:16 +00:00
parent ab62868912
commit fe9a77090e
4 changed files with 12 additions and 22 deletions

View File

@ -51,10 +51,10 @@ BOOL AboutDlg::OnInitDialog()
{
CDialog::OnInitDialog();
m_hlMail_JSM.SubclassDlgItem(IDC_EMAIL_JEFFMILL, this);
m_hlMail_JSM.SubclassDlgItem(IDC_EMAIL_MAINTAINER, this);
m_hlMail_JSM.SetURL( _T("mailto:stephena@users.sourceforge.net?Subject=Cyberstella") );
m_hlWWW_JSM.SubclassDlgItem(IDC_WEB_JEFFMILL, this);
m_hlWWW_JSM.SubclassDlgItem(IDC_WEB_MAINTAINER, this);
m_hlWWW_JSM.SetURL( _T("http://minbar.org") );
m_hlMail_Stella.SubclassDlgItem(IDC_EMAIL_STELLA, this);

View File

@ -12,7 +12,7 @@
#include "GlobalData.hxx"
#include "PropsSet.hxx"
#include "Sound.hxx"
#include "SettingsWin32.hxx"
#include "Settings.hxx"
#include "GameList.h"
class CCyberstellaView : public CFormView
@ -77,7 +77,7 @@ private:
// members
PropertiesSet* m_pPropertiesSet;
Sound* pSound;
SettingsWin32* pSettings;
Settings* pSettings;
bool m_bIsPause;
};

View File

@ -13,7 +13,7 @@
// See the file "license" for information on usage and redistribution of
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
//
// $Id: SettingsWin32.cxx,v 1.1 2003-09-21 14:33:34 stephena Exp $
// $Id: SettingsWin32.cxx,v 1.2 2003-09-23 19:41:16 stephena Exp $
//============================================================================
#include "bspf.hxx"
@ -32,20 +32,6 @@ SettingsWin32::~SettingsWin32()
cerr << "SettingsWin32::~SettingsWin32()\n";
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void SettingsWin32::setArgument(string& key, string& value)
{
cerr << "SettingsWin32::setArgument()\n";
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
string SettingsWin32::getArguments()
{
cerr << "SettingsWin32::getArguments()\n";
return "";
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
string SettingsWin32::stateFilename(uInt32 state)
{
@ -61,3 +47,8 @@ string SettingsWin32::snapshotFilename()
return "";
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void SettingsWin32::usage(string& message)
{
}

View File

@ -13,7 +13,7 @@
// See the file "license" for information on usage and redistribution of
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
//
// $Id: SettingsWin32.hxx,v 1.1 2003-09-21 14:33:34 stephena Exp $
// $Id: SettingsWin32.hxx,v 1.2 2003-09-23 19:41:16 stephena Exp $
//============================================================================
#ifndef SETTINGS_WIN32_HXX
@ -29,10 +29,9 @@ class SettingsWin32 : public Settings
virtual ~SettingsWin32();
public:
virtual void setArgument(string& key, string& value);
virtual string getArguments();
virtual string stateFilename(uInt32 state);
virtual string snapshotFilename();
virtual void usage(string& message);
};
#endif