21
edits
Changes
→General Internal Header file (ccgh.h R0.1)
The general header file holds the common setting and definition between all the Core Classes.
<big><syntaxhighlight lang="cpp">
#ifndef ___CGH_H__#define ___CGH_H__ #ifndef _CRT_SECURE_NO_DEPRECATE #define _CRT_SECURE_NO_DEPRECATE #endif #ifndef _CRT_SECURE_NO_WARNINGS#define _CRT_SECURE_NO_WARNINGS#endif #define _CRT_SECURE_NO_WARNINGSC_MAX_NO_FIELDS 100#define C_BUTTON_HIT 1#define C_MAX_LINE_CHARS (1024u) //#define C_REFRESH -2#define C_FULL_FRAME -1#define C_NO_FRAME 0 #define C_BORDER_CHARS "/-\\|/-\\|"enum CDirection {bio_centre, bio_left, bio_right, bio_up, bio_down}; extern "C"{#include "bio.h"}; enum MessageStatus{ClearMessage,SetMessage}; #ifdef NO_HELPFUNC# undef NO_HELPFUNC#endif#define NO_HELPFUNC ((void(*)(MessageStatus, CDialog&))(0))#ifdef NO_VALDFUNC# undef NO_VALDFUNC#endif#define NO_VALDFUNC ((bool(*)(const char*, CDialog&))(0))
#define CC_BORDER_CHARS C_MAX_LINE_CHARS "/-\\|/-\\|"(1024u)#define C_INITIAL_NUM_OF_LINES (100u)
#endif
</syntaxhighlight></big>
=File Names=
Use the following rules to create filenames for your class.