since ScreenOptionsExportPackage doesn't really export packages anyways, no one should mind me committing wip code that splits things up into pages

This commit is contained in:
AJ Kelly
2011-07-19 19:45:10 -05:00
parent 9f3a35cd6c
commit a9be18d57d
2 changed files with 154 additions and 40 deletions
+22
View File
@@ -6,6 +6,13 @@
class Course;
// Can this be done any better? -aj
namespace ExportPackages
{
RString m_sPackageType;
RString m_sFolder; // used for more subpages
}
/** @brief A menu for exporting packages. */
class ScreenOptionsExportPackage : public ScreenOptions
{
@@ -13,6 +20,21 @@ public:
void Init();
virtual void BeginScreen();
protected:
virtual void ImportOptions( int iRow, const vector<PlayerNumber> &vpns );
virtual void ExportOptions( int iRow, const vector<PlayerNumber> &vpns );
virtual void ProcessMenuStart( const InputEventPlus &input );
vector<RString> m_vsPackageTypes;
};
class ScreenOptionsExportPackageSubPage : public ScreenOptions
{
public:
void Init();
virtual void BeginScreen();
protected:
virtual void ImportOptions( int iRow, const vector<PlayerNumber> &vpns );
virtual void ExportOptions( int iRow, const vector<PlayerNumber> &vpns );