From ffad86bda5be200136a67f172feb5504d4696902 Mon Sep 17 00:00:00 2001 From: Joshua Peisach Date: Sun, 11 Jun 2023 03:26:30 -0400 Subject: [PATCH] Create basic MxNotificationManager class --- LEGO1/mxcore.cpp | 6 ++++++ LEGO1/mxnotificationmanager.h | 15 +++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 LEGO1/mxnotificationmanager.h diff --git a/LEGO1/mxcore.cpp b/LEGO1/mxcore.cpp index da8fe0b9..a18a1e01 100644 --- a/LEGO1/mxcore.cpp +++ b/LEGO1/mxcore.cpp @@ -19,6 +19,12 @@ long MxCore::Notify(MxParam &p) return 0; } +// FIXME: based on another call, this might be an integer (100edf3c), or whatever undefined4 is +long MxCore::NotificationManager() +{ + return 0; +} + long MxCore::Tickle() { return 0; diff --git a/LEGO1/mxnotificationmanager.h b/LEGO1/mxnotificationmanager.h new file mode 100644 index 00000000..9f5a584a --- /dev/null +++ b/LEGO1/mxnotificationmanager.h @@ -0,0 +1,15 @@ +#ifdef MXNOTIFICATIONMANAGER_H +#define MXNOTIFICATIONMANAGER_H + +// looks like tickle, only defined then used in its definition and never again +class MxNotificationManager : public MxCore +{ +public: + virtual ~MxNotificationManager(); + + virtual long NotificationManager(); + virtual const char* GetClassName() const; + virtual MxBool IsClass(const char* name) const; +}; + +#endif MXNOTIFICATIONMANAGER_H