#pragma once #include "common.h" class AFX_EXT_CLASS 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; } protected: void Read(T2Archive& inArchive); void Write(T2Archive& inArchive); BOOL Check_Serial(char* inSerial); BOOL mChanged; int m1stCinemaDate; T2MovieParamArray *mMovieParamArray; char mSerial[20]; };