class MODULE: use timestamp_t instead of time_t in SetLastEditTime and GetLastEditTime, like in all other methods using a time stamp.
This commit is contained in:
parent
2edc675eaf
commit
ffa454d6f9
|
@ -306,9 +306,9 @@ public:
|
||||||
m_ModuleStatus &= ~MODULE_PADS_LOCKED;
|
m_ModuleStatus &= ~MODULE_PADS_LOCKED;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetLastEditTime( time_t aTime ) { m_LastEditTime = aTime; }
|
void SetLastEditTime( timestamp_t aTime ) { m_LastEditTime = aTime; }
|
||||||
void SetLastEditTime() { m_LastEditTime = time( NULL ); }
|
void SetLastEditTime() { m_LastEditTime = time( NULL ); }
|
||||||
time_t GetLastEditTime() const { return m_LastEditTime; }
|
timestamp_t GetLastEditTime() const { return m_LastEditTime; }
|
||||||
|
|
||||||
/* drawing functions */
|
/* drawing functions */
|
||||||
|
|
||||||
|
@ -736,7 +736,7 @@ private:
|
||||||
wxString m_KeyWord; ///< Search keywords to find module in library.
|
wxString m_KeyWord; ///< Search keywords to find module in library.
|
||||||
wxString m_Path;
|
wxString m_Path;
|
||||||
ZoneConnection m_ZoneConnection;
|
ZoneConnection m_ZoneConnection;
|
||||||
time_t m_LastEditTime;
|
timestamp_t m_LastEditTime;
|
||||||
int m_arflag; ///< Use to trace ratsnest and auto routing.
|
int m_arflag; ///< Use to trace ratsnest and auto routing.
|
||||||
double m_Surface; ///< Bounding box area
|
double m_Surface; ///< Bounding box area
|
||||||
timestamp_t m_Link; ///< Temporary logical link used in edition
|
timestamp_t m_Link; ///< Temporary logical link used in edition
|
||||||
|
|
Loading…
Reference in New Issue