summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-03-10 12:07:19 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-03-10 12:07:19 +0300
commit6b0eb25a146260e8e4a42eef18fcd51ad971e7a0 (patch)
tree82c5dc85fd8102df1638c215a011b4ca29488191 /include
parentd94c7e8155f9052935b768368e094f80c730b013 (diff)
code cleaning
Diffstat (limited to 'include')
-rw-r--r--include/m_database.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/m_database.h b/include/m_database.h
index 7f9d1600b1..4dd9e5dd8e 100644
--- a/include/m_database.h
+++ b/include/m_database.h
@@ -687,18 +687,19 @@ namespace DB
class MIR_APP_EXPORT EventInfo : public DBEVENTINFO, public MNonCopyable
{
- bool bValid;
+ bool m_bValid;
+ MEVENT m_hEvent;
public:
explicit EventInfo();
explicit EventInfo(MEVENT hEvent, bool bFetchBlob = true);
~EventInfo();
- bool fetch(MEVENT hEvent, bool bFetchBlob = true);
+ bool fetch(bool bFetchBlob = true);
void unload();
- void wipeNotify(MEVENT hEvent);
+ void wipeNotify();
- __forceinline operator bool() const { return bValid; }
+ __forceinline operator bool() const { return m_bValid; }
bool isSrmm() const; // could be displayed in a SRMM window
bool isHistory() const; // could be displayed in a history window