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(); 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_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_hlWWW_JSM.SetURL( _T("http://minbar.org") );
m_hlMail_Stella.SubclassDlgItem(IDC_EMAIL_STELLA, this); m_hlMail_Stella.SubclassDlgItem(IDC_EMAIL_STELLA, this);

View File

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

View File

@ -13,7 +13,7 @@
// See the file "license" for information on usage and redistribution of // See the file "license" for information on usage and redistribution of
// this file, and for a DISCLAIMER OF ALL WARRANTIES. // 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" #include "bspf.hxx"
@ -32,20 +32,6 @@ SettingsWin32::~SettingsWin32()
cerr << "SettingsWin32::~SettingsWin32()\n"; 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) string SettingsWin32::stateFilename(uInt32 state)
{ {
@ -61,3 +47,8 @@ string SettingsWin32::snapshotFilename()
return ""; return "";
} }
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void SettingsWin32::usage(string& message)
{
}

View File

@ -13,7 +13,7 @@
// See the file "license" for information on usage and redistribution of // See the file "license" for information on usage and redistribution of
// this file, and for a DISCLAIMER OF ALL WARRANTIES. // 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 #ifndef SETTINGS_WIN32_HXX
@ -29,10 +29,9 @@ class SettingsWin32 : public Settings
virtual ~SettingsWin32(); virtual ~SettingsWin32();
public: public:
virtual void setArgument(string& key, string& value);
virtual string getArguments();
virtual string stateFilename(uInt32 state); virtual string stateFilename(uInt32 state);
virtual string snapshotFilename(); virtual string snapshotFilename();
virtual void usage(string& message);
}; };
#endif #endif