#ifndef _SCOREFILE_H_
#define _SCOREFILE_H_
+#include <wx/config.h>
+
class wxConfig;
class ScoreFile {
ScoreFile(const char* appName);
virtual ~ScoreFile();
- void GetPlayerList(wxString** list, int& number);
+ void GetPlayerList( wxArrayString &list );
wxString GetPreviousPlayer() const;
void ReadPlayersScore(const char* player, int& wins, int& games, int &score);
private:
long CalcCheck(const char* name, int p1, int p2, int p3);
- wxString m_configFilename;
- wxConfig* m_config;
+ wxString m_configFilename;
+ wxConfig* m_config;
};
#endif