Changes

Jump to: navigation, search

OOP344 Assignment Two

35 bytes removed, 10:31, 7 November 2009
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 (0x1u)
 
#define IO_CLEAR (0x2u)
 
#define IO_SHOW_ALL (0x4u)
 
#define IO_SHOW_ERROR (0x8u)
 
#define IO_SHOW_HELP (0x10u)
 
// 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>

Navigation menu