mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
refs #628 Use the metaclass mixins in all value classes.
This commit is contained in:
@@ -138,8 +138,11 @@ namespace BlackMisc
|
||||
static const CSimulatorInfo getLocallyInstalledSimulators();
|
||||
|
||||
private:
|
||||
BLACK_ENABLE_TUPLE_CONVERSION(CSimulatorInfo)
|
||||
int m_simulator = static_cast<int>(None);
|
||||
|
||||
BLACK_METACLASS(CSimulatorInfo,
|
||||
BLACK_METAMEMBER(simulator)
|
||||
);
|
||||
};
|
||||
|
||||
//! Count per simulator, small utility class allows to retrieve values as per simulator
|
||||
@@ -181,7 +184,6 @@ namespace BlackMisc
|
||||
} // ns
|
||||
} // ns
|
||||
|
||||
BLACK_DECLARE_TUPLE_CONVERSION(BlackMisc::Simulation::CSimulatorInfo, (attr(o.m_simulator)))
|
||||
Q_DECLARE_METATYPE(BlackMisc::Simulation::CSimulatorInfo)
|
||||
Q_DECLARE_METATYPE(BlackMisc::Simulation::CSimulatorInfo::SimulatorFlag)
|
||||
Q_DECLARE_OPERATORS_FOR_FLAGS(BlackMisc::Simulation::CSimulatorInfo::Simulator)
|
||||
|
||||
Reference in New Issue
Block a user