mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 13:47:58 +03:00
Set dirty timer in SetTime()
This commit is contained in:
parent
dd1f8bd92a
commit
1184843318
1 changed files with 20 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue