remove CStringArray #define

This commit is contained in:
Chris Danford
2005-12-09 21:36:22 +00:00
parent b68e9dd772
commit 37f82b43f7
91 changed files with 227 additions and 228 deletions
+3 -3
View File
@@ -28,7 +28,7 @@ struct ConfOption
/* Return the list of available selections; Get() and Put() use indexes into this
* array. UpdateAvailableOptions() should be called before using this. */
void MakeOptionsList( CStringArray &out ) const;
void MakeOptionsList( vector<CString> &out ) const;
inline int Get() const { int sel; MoveData( sel, true, this ); return sel; }
inline void Put( int sel ) const { MoveData( sel, false, this ); }
@@ -49,7 +49,7 @@ struct ConfOption
#undef PUSH
ConfOption( const char *n, MoveData_t m,
void (*lst)( CStringArray &out ) )
void (*lst)( vector<CString> &out ) )
{
name = n;
MoveData = m;
@@ -61,7 +61,7 @@ struct ConfOption
// private:
vector<CString> names;
void (*MakeOptionsListCB)( CStringArray &out );
void (*MakeOptionsListCB)( vector<CString> &out );
};
#endif