From c0c336500955a23e344651e5412c9d9d441ef4ee Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Wed, 28 Jun 2023 22:22:32 +0100 Subject: first pass of T2DLL --- src/T2DLL/T2GlobalData.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'src/T2DLL/T2GlobalData.h') diff --git a/src/T2DLL/T2GlobalData.h b/src/T2DLL/T2GlobalData.h index 5f4f8a3..ae6edce 100644 --- a/src/T2DLL/T2GlobalData.h +++ b/src/T2DLL/T2GlobalData.h @@ -1,23 +1,23 @@ #pragma once #include "common.h" -class T2GlobalData { +class AFX_EXT_CLASS T2GlobalData { public: T2GlobalData(); virtual ~T2GlobalData(); - void Set1stCinemaDate(int); - void RegistMovie(unsigned long, int); - int GetMovieParam(unsigned long); -protected: - void Read(T2Archive&); - void Write(T2Archive&); -public: - int IsCheckSerial(); + void Set1stCinemaDate(int inDate); + void RegistMovie(DWORD inCode, int inValue); + int GetMovieParam(DWORD inCode); + BOOL IsCheckSerial(); + int Get1stCinemaDate() { return m1stCinemaDate; } + protected: - int Check_Serial(char*); + void Read(T2Archive& inArchive); + void Write(T2Archive& inArchive); + BOOL Check_Serial(char* inSerial); -public: - int Get1stCinemaDate() {} - T2GlobalData(const T2GlobalData&) {} - T2GlobalData& operator=(const T2GlobalData&) {} + BOOL mChanged; + int m1stCinemaDate; + T2MovieParamArray *mMovieParamArray; + char mSerial[20]; }; -- cgit v1.2.3