summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2GlobalData.h
blob: de14127c78c5e4934141628dde344f2c480629c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef T2DLL_T2GLOBALDATA_H
#define T2DLL_T2GLOBALDATA_H
#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);
};
#endif