Refactor services into classes (#183)
This commit is contained in:
committed by
GitHub
parent
bb7e79886f
commit
3be251d8fb
@@ -22,10 +22,7 @@ public:
|
||||
|
||||
/** @return a reference ot the service's manifest */
|
||||
virtual const service::ServiceManifest& getManifest() const = 0;
|
||||
/** @return a shared pointer to the data that is attached to the service */
|
||||
virtual std::shared_ptr<void> _Nullable getData() const = 0;
|
||||
/** Set the data for a service. */
|
||||
virtual void setData(std::shared_ptr<void> newData) = 0;
|
||||
|
||||
/** Retrieve the paths that are relevant to this service */
|
||||
virtual std::unique_ptr<Paths> getPaths() const = 0;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user