]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/forty/scorefil.h
Added the forgotten file txtstrm.tex
[wxWidgets.git] / samples / forty / scorefil.h
index d38b050af6ab98a39ab9164828c2b1f597ee717f..1e89904eca9b2a61b471f9e0079fd9ebd1ca2d73 100644 (file)
@@ -13,6 +13,8 @@
 #ifndef _SCOREFILE_H_
 #define _SCOREFILE_H_
 
+#include <wx/config.h>
+
 class wxConfig;
 
 class ScoreFile {
@@ -20,7 +22,7 @@ public:
        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);
@@ -28,8 +30,8 @@ public:
 
 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