mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 11:05:33 +08:00
refs #199, cleaned up contexts a bit after rebasing to current master
* friend CRuntime on top * fixed some public constructors (made protected) * Also made registerWithDBus protected * Fixed some copy/paste issues in getIContextXXX * Reordered private/public sections
This commit is contained in:
@@ -45,9 +45,6 @@ namespace BlackCore
|
||||
//! Destructor
|
||||
virtual ~IContextNetwork() {}
|
||||
|
||||
//! \brief Using local objects?
|
||||
virtual bool usingLocalObjects() const = 0;
|
||||
|
||||
signals:
|
||||
|
||||
//! Send status message
|
||||
@@ -170,12 +167,8 @@ namespace BlackCore
|
||||
virtual void requestAtisUpdates() = 0;
|
||||
|
||||
protected:
|
||||
friend class CRuntime;
|
||||
|
||||
//! Constructor
|
||||
IContextNetwork(CRuntimeConfig::ContextMode mode, CRuntime *runtime = nullptr) : CContext(mode, runtime) {}
|
||||
|
||||
|
||||
IContextNetwork(CRuntimeConfig::ContextMode mode, CRuntime *runtime) : CContext(mode, runtime) {}
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user