mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 12:55:31 +08:00
Ref T456, user statistics monitored at backend
* values for simulator/network * changed concept a bit so crash handler values are used for statistics as well
This commit is contained in:
@@ -27,7 +27,9 @@ namespace BlackMisc
|
||||
enum ColumnIndex
|
||||
{
|
||||
IndexUserName = CPropertyIndex::GlobalIndexCCrashInfo,
|
||||
IndexInfo
|
||||
IndexInfo,
|
||||
IndexSimulatorString,
|
||||
IndexFlightNetworkInfo
|
||||
};
|
||||
|
||||
//! Default constructor.
|
||||
@@ -45,6 +47,18 @@ namespace BlackMisc
|
||||
//! Set info
|
||||
void setInfo(const QString &info) { m_info = info; }
|
||||
|
||||
//! Simulator string
|
||||
const QString &getSimulatorString() const { return m_simulatorString; }
|
||||
|
||||
//! Simulator string
|
||||
void setSimulatorString(const QString &simString) { m_simulatorString = simString; }
|
||||
|
||||
//! Network string
|
||||
const QString &getFlightNetworkString() const { return m_flightNetwork; }
|
||||
|
||||
//! Network string
|
||||
void setFlightNetworkString(const QString &network) { m_flightNetwork = network; }
|
||||
|
||||
//! Append some info
|
||||
void appendInfo(const QString &extraInfo);
|
||||
|
||||
@@ -63,6 +77,8 @@ namespace BlackMisc
|
||||
private:
|
||||
QString m_userName;
|
||||
QString m_info;
|
||||
QString m_simulatorString;
|
||||
QString m_flightNetwork;
|
||||
|
||||
BLACK_METACLASS(
|
||||
CCrashInfo,
|
||||
|
||||
Reference in New Issue
Block a user