diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-06-28 22:22:32 +0100 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-06-28 22:22:32 +0100 |
commit | c0c336500955a23e344651e5412c9d9d441ef4ee (patch) | |
tree | 790769c748db307cf3314f6e896e2f61c68561a2 /src/T2DLL/T2GlobalData.h | |
parent | 37e364b2c6cc7487a1c888d256a73e5337bb7189 (diff) | |
download | t2win-c0c336500955a23e344651e5412c9d9d441ef4ee.tar.gz t2win-c0c336500955a23e344651e5412c9d9d441ef4ee.zip |
first pass of T2DLL
Diffstat (limited to '')
-rw-r--r-- | src/T2DLL/T2GlobalData.h | 28 |
1 files changed, 14 insertions, 14 deletions
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]; }; |