refactor (4/?)

This commit is contained in:
2023-08-25 21:57:22 +08:00
parent c8c2c6e20b
commit 4a787610f1
17 changed files with 323 additions and 265 deletions

View File

@ -161,6 +161,7 @@ namespace LibCmo::CK2 {
};
// ========== Type Definition ==========
// type define
using CKMUTSTRING = char*;
using CKSTRING = const char*;
@ -181,6 +182,12 @@ namespace LibCmo::CK2 {
using CKAttributeType = int32_t;
using CKAttributeCategory = int32_t;
// type print style define
#define PRIckBYTE PRIu8
#define PRIckDWORD PRIu32
#define PRIckWORD PRIu16
#define PRIckINT PRIi32
// ========== Class List ==========
// Objects and derivated classes
@ -269,7 +276,9 @@ namespace LibCmo::CK2 {
//--- Important classes
class CKContext;
class CKStateChunk;
class CKFile;
class CKFileReader;
class CKFileWriter;
class CKFileVisitor;
/**