6 #ifndef SWIFT_MISC_CRASHINFO_H
7 #define SWIFT_MISC_CRASHINFO_H
26 IndexUserName = CPropertyIndexRef::GlobalIndexCCrashInfo,
29 IndexFlightNetworkInfo
39 void setUserName(
const QString &userName) { m_userName = userName; }
42 bool hasInfo()
const {
return !m_info.isEmpty(); }
45 const QString &
getInfo()
const {
return m_info; }
48 void setInfo(
const QString &info) { m_info = info; }
63 void appendInfo(
const QString &extraInfo);
66 void setLogPathAndFileName(
const QString &fileName);
69 QString convertToQString(
bool i18n =
false)
const;
81 void triggerWritingFile()
const;
84 bool writeToFile()
const;
87 QString summary()
const;
92 QString m_simulatorString;
93 QString m_flightNetwork;
94 QString m_logFileAndPath;
const QString & getSimulatorString() const
Simulator string.
void setFlightNetworkString(const QString &network)
Network string.
bool hasInfo() const
Any info available?
const QString & getUserName() const
Get user name.
void setUserName(const QString &userName)
User name.
CCrashInfo()=default
Default constructor.
const QString & getFlightNetworkString() const
Network string.
void setSimulatorString(const QString &simString)
Simulator string.
ColumnIndex
Properties by index.
void setInfo(const QString &info)
Set info.
const QString & getInfo() const
Get the info.
Non-owning reference to a CPropertyIndex with a subset of its features.
Mix of the most commonly used mixin classes.
Free functions in swift::misc.
#define SWIFT_MISC_EXPORT
Export a class or function from the library.
#define SWIFT_DECLARE_VALUEOBJECT_MIXINS(Namespace, Class)
Explicit template declaration of mixins for a CValueObject subclass to be placed near the top of the ...