allow initting these with Load

This commit is contained in:
Glenn Maynard
2005-10-07 03:28:16 +00:00
parent 8fb283a59c
commit fee7293c08
+6 -3
View File
@@ -12,27 +12,30 @@
// //
// Types // Types
// //
class ThemeMetricDifficultiesToShow : ThemeMetric<CString> class ThemeMetricDifficultiesToShow : public ThemeMetric<CString>
{ {
public: public:
ThemeMetricDifficultiesToShow() { }
ThemeMetricDifficultiesToShow( const CString& sGroup, const CString& sName ); ThemeMetricDifficultiesToShow( const CString& sGroup, const CString& sName );
void Read(); void Read();
const vector<Difficulty> &GetValue(); const vector<Difficulty> &GetValue();
private: private:
vector<Difficulty> m_v; vector<Difficulty> m_v;
}; };
class ThemeMetricCourseDifficultiesToShow : ThemeMetric<CString> class ThemeMetricCourseDifficultiesToShow : public ThemeMetric<CString>
{ {
public: public:
ThemeMetricCourseDifficultiesToShow() { }
ThemeMetricCourseDifficultiesToShow( const CString& sGroup, const CString& sName ); ThemeMetricCourseDifficultiesToShow( const CString& sGroup, const CString& sName );
void Read(); void Read();
const vector<CourseDifficulty> &GetValue(); const vector<CourseDifficulty> &GetValue();
private: private:
vector<CourseDifficulty> m_v; vector<CourseDifficulty> m_v;
}; };
class ThemeMetricStepsTypesToShow : ThemeMetric<CString> class ThemeMetricStepsTypesToShow : public ThemeMetric<CString>
{ {
public: public:
ThemeMetricStepsTypesToShow() { }
ThemeMetricStepsTypesToShow( const CString& sGroup, const CString& sName ); ThemeMetricStepsTypesToShow( const CString& sGroup, const CString& sName );
void Read(); void Read();
const vector<StepsType> &GetValue(); const vector<StepsType> &GetValue();