#ifndef _ZJD_YCBW_H_ #define _ZJD_YCBW_H_ #include "public.h" class CYCBW { private: //struYCBWBuffer m_ycbws[DATABASE_YCBW_NUM]; struYCBWBuffer *m_ycbws; int m_save; int m_load; public: CYCBW(); virtual ~CYCBW(); void PushYCBW(unionCP56Time& st, int order, LONG value, BYTE qds, int uid, int point, int type); void DumpYCBW(void); BOOLEAN GetYCBW(LONG& pos, int& order, LONG& value, BYTE& qds); BOOLEAN GetYCBW(LONG& pos, unionCP56Time& st, int& order, LONG& value, BYTE& qds, int& type); BOOLEAN GetYCBW(LONG& pos, unionCP56Time& st, int& order, LONG& value, BYTE& qds, int& uid, int& point, int& type); int GetSavePos(void) const; }; #endif //_ZJD_YCBW_H_