Open main menu

CDOT Wiki β

Changes

OOP344 Assignment Two

460 bytes added, 10:31, 7 November 2009
m
General Definition Header file
<big><pre>
extern "C"{ #include "ciol.h" }; #ifndef _CRT_SECURE_NO_DEPRECATE #define _CRT_SECURE_NO_DEPRECATE #endif #ifndef _CRT_SECURE_NO_WARNINGS #define _CRT_SECURE_NO_WARNINGS #endif #define IO_NO_ACTION (0x10x1u) #define IO_CLEAR (0x20x2u) #define IO_SHOW_ALL (0x40x4u) #define IO_SHOW_ERROR (0x80x8u) #define IO_SHOW_HELP (0x160x10u// frame chars
#define _FRAME_CHARS "|+-+|+-+"
 
#define _FRAME_UNDERLINE " - "
 
#define _FRAME_UNDEROVER " - - "
 
#define _FRAME_LISTS "|/-\\|\\-/"
 
#define _FRAME_MENUS "|+-+|+-+"
 
#define _CHECKLIST_CHARS "[X]"
 
#define _RADIOLIST_CHARS "(o)"
 
#define _MENU_CHARS "[]"
#ifdef NO_FUNC
 
# undef NO_FUNC
 
#endif
 
#define NO_FUNC ((void(*)(MessageStatus, IO_Form&))(0))
#ifdef NO_VFUNC
 
# undef NO_VFUNC
 
#endif
 
#define NO_VFUNC ((bool(*)(const char*, IO_Form&))(0))
enum MessageStatus{ClearMessage,SetMessage};
 
enum CheckListMode{CheckBox, Radio};
 
enum MenuDir{Vertical, Horizontal};
 
#endif
</pre></big>