Set dirty timer in SetTime()

This commit is contained in:
smallmodel 2023-10-30 22:59:04 +01:00
parent dd1f8bd92a
commit 1184843318
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512

View file

@ -23,14 +23,28 @@ public:
Class *GetNextElement(int& foundTime);
void SetDirty(void) { m_bDirty = true; };
bool IsDirty(void) { return m_bDirty; };
void SetTime(int inttime) { m_inttime = inttime; };
void SetDirty(void);
bool IsDirty(void);
void SetTime(int inttime);
#if defined(ARCHIVE_SUPPORTED)
static void ArchiveElement(class Archiver& arc, Element *e);
void Archive(class Archiver &arc) override;
#endif
};
};
inline void con_timer::SetDirty(void)
{
m_bDirty = true;
};
inline bool con_timer::IsDirty(void)
{
return m_bDirty;
};
inline void con_timer::SetTime(int inttime)
{
m_inttime = inttime;
m_bDirty = true;
}