diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-07-01 02:43:29 +0100 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-07-01 02:43:29 +0100 |
commit | 5c6a48b2ff362a70416a6a00fda7d06e0f276f2d (patch) | |
tree | 62cf542c68d91aa6f7a4e3bfa9eddca4ab352970 /src/T2DLL/T2HallEventTable.h | |
parent | c0c336500955a23e344651e5412c9d9d441ef4ee (diff) | |
download | t2win-5c6a48b2ff362a70416a6a00fda7d06e0f276f2d.tar.gz t2win-5c6a48b2ff362a70416a6a00fda7d06e0f276f2d.zip |
i am in hell
Diffstat (limited to '')
-rw-r--r-- | src/T2DLL/T2HallEventTable.h | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/src/T2DLL/T2HallEventTable.h b/src/T2DLL/T2HallEventTable.h index 99ec0bf..ea82315 100644 --- a/src/T2DLL/T2HallEventTable.h +++ b/src/T2DLL/T2HallEventTable.h @@ -2,7 +2,7 @@ #include "common.h" #include "T2VerticalTable.h" -class AFX_EXT_CLASS T2HallEventTable : public T2VerticalTable { +class AFX_CLASS_EXPORT T2HallEventTable : public T2VerticalTable { public: T2HallEventTable(T2TowerDoc* inDoc, T2ImageObj* inImageObj, CPalette* inPalette); virtual ~T2HallEventTable(); @@ -23,7 +23,22 @@ protected: int mUserCon; }; -class AFX_EXT_CLASS T2MonthlyTable : public T2VerticalTable { +class AFX_CLASS_EXPORT T2HallEventItem { +public: + T2HallEventItem(T2HallEventPlugin *inPlugin, const char *inStr) { + mPlugin = inPlugin; + if (inStr) + strcpy(mStr, inStr); + else + mStr[0] = 0; + } + virtual ~T2HallEventItem() {} + + T2HallEventPlugin *mPlugin; + char mStr[64]; +}; + +class AFX_CLASS_EXPORT T2MonthlyTable : public T2VerticalTable { public: T2MonthlyTable(T2TowerDoc* inDoc, T2ImageObj* inImageObj, CPalette* inPalette); virtual ~T2MonthlyTable(); |