diff options
Diffstat (limited to 'src/T2DLL/T2StairModuleList.h')
-rw-r--r-- | src/T2DLL/T2StairModuleList.h | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/src/T2DLL/T2StairModuleList.h b/src/T2DLL/T2StairModuleList.h index b93b9a5..dca1acc 100644 --- a/src/T2DLL/T2StairModuleList.h +++ b/src/T2DLL/T2StairModuleList.h @@ -1,23 +1,22 @@ #pragma once #include "common.h" +#include "T2MoverModuleList.h" -class T2StairModuleList { +class AFX_EXT_CLASS T2StairModuleList : public T2MoverModuleList { public: T2StairModuleList(); virtual ~T2StairModuleList(); - void AddModule(int, const RECT&); - void AddModule(T2TowerDoc*, const RECT&, int); -private: - int GetIndex(int, ERequestUpDown) const; -public: - void Union(T2MoverModuleList*, unsigned int); - virtual T2MoverModule* ConstructModule(); - virtual void Read(T2Archive&, T2TowerDoc*); - virtual int GetModuleCount() const; + virtual T2MoverModule* ConstructModule(); + virtual void Read(T2Archive&, T2TowerDoc*); + virtual int GetModuleCount() const; + + void AddModule(int position, const RECT& rect); + void AddModule(T2TowerDoc* towerDoc, const RECT& rect, BOOL insertAtEnd); + void Union(T2MoverModuleList* list, unsigned int moverID); protected: - virtual unsigned long GetMMClassID() {} -public: - T2StairModuleList(const T2StairModuleList&) {} - T2StairModuleList& operator=(const T2StairModuleList&) {} + virtual DWORD GetMMClassID() { return 'StML'; } + +private: + int GetIndex(int position, ERequestUpDown upDown) const; }; |