add GoalType, Lua functions

This commit is contained in:
Chris Danford
2005-02-17 19:36:10 +00:00
parent 25c88d3aa0
commit da5f4a57bb
6 changed files with 44 additions and 3 deletions
+13
View File
@@ -355,6 +355,19 @@ enum MenuDir
const CString& MenuDirToString( MenuDir md );
enum GoalType
{
GOAL_CALORIES,
GOAL_TIME,
GOAL_NONE,
NUM_GOAL_TYPES,
GOAL_INVALID,
};
#define FOREACH_GoalType( md ) FOREACH_ENUM( GoalType, NUM_GOAL_TYPES, gt )
const CString& GoalTypeToString( GoalType gt );
GoalType StringToGoalType( const CString& s );
#endif
/*