mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 12:55:33 +08:00
Ref T554, check function for auto publishing
This commit is contained in:
committed by
Mat Sutcliffe
parent
fab65c23b1
commit
ac22e1d17d
@@ -42,6 +42,22 @@ namespace BlackMisc
|
||||
};
|
||||
}
|
||||
|
||||
//! Which data have changed
|
||||
struct ChangedAutoPublishData
|
||||
{
|
||||
bool modelKnown = false; //!< model known in DB
|
||||
bool changedCG = false; //!< CG changed
|
||||
bool changedSim = false; //!< simulator changed
|
||||
|
||||
//! Set all to true;
|
||||
void setAllTrue()
|
||||
{
|
||||
modelKnown = true;
|
||||
changedCG = true;
|
||||
changedSim = true;
|
||||
}
|
||||
};
|
||||
|
||||
//! Objects that can be use for auto-publishing.
|
||||
//! Auto publishing means we sent those data to the DB.
|
||||
class BLACKMISC_EXPORT CAutoPublishData
|
||||
|
||||
Reference in New Issue
Block a user