#pragma once #include #include #include "uappbase/appdep.hpp" #define MAX_TABLE_NUM 10 #define TABLE_BASE_VERSION 0xAABBCCDE namespace iflytop { typedef struct { const char* name; uint8_t* add; uint32_t size; } zhdb_table_t; class ZHDB { private: /* data */ public: static void init(); static zhdb_table_t* allocTable(const char* name, size_t size); static void storageData(uint8_t* data, size_t size); }; } // namespace iflytop