mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
refs #207, added remote file read/write
* write simconnect.cfg either local or remote * update in GUI to use new methods
This commit is contained in:
@@ -37,6 +37,12 @@ namespace BlackCore
|
||||
//! \copydoc IContextApplication::notifyAboutComponentChange
|
||||
virtual void notifyAboutComponentChange(uint component, uint action) override;
|
||||
|
||||
//! \copydoc IContextApplication::writeToFile
|
||||
virtual bool writeToFile(const QString &fileName, const QString &content) override;
|
||||
|
||||
//! \copydoc IContextApplication::readFromFile
|
||||
virtual QString readFromFile(const QString &fileName) override;
|
||||
|
||||
protected:
|
||||
//! Constructor
|
||||
CContextApplicationProxy(CRuntimeConfig::ContextMode mode, CRuntime *runtime) : CContextApplicationBase(mode, runtime), m_dBusInterface(nullptr) {}
|
||||
|
||||
Reference in New Issue
Block a user