mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +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:
@@ -111,6 +111,12 @@ namespace BlackCore
|
||||
|
||||
//! A component has changed its state
|
||||
virtual void notifyAboutComponentChange(uint component, uint action) = 0;
|
||||
|
||||
//! Remote enable version of writing a text file
|
||||
virtual bool writeToFile(const QString &fileName, const QString &content) = 0;
|
||||
|
||||
//! Remote enable version of reading a text file
|
||||
virtual QString readFromFile(const QString &fileName) = 0;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user