#pragma once #include "common.h" class AFX_CLASS_EXPORT T2GlobalData { public: T2GlobalData(); virtual ~T2GlobalData(); void Set1stCinemaDate(int inDate); void RegistMovie(DWORD inCode, int inValue); int GetMovieParam(DWORD inCode); BOOL IsCheckSerial(); int Get1stCinemaDate() { return m1stCinemaDate; } BOOL mChanged; int m1stCinemaDate; T2MovieParamArray *mMovieParamArray; char mSerial[20]; protected: void Read(T2Archive& inArchive); void Write(T2Archive& inArchive); BOOL Check_Serial(char* inSerial); };