[Bluemonkey] - broke out bluemonkey-engine calls into separate class
[profile/ivi/automotive-message-broker.git] / plugins / demosink / demosinkplugin.h
index 9556764..ce57a5d 100644 (file)
@@ -28,13 +28,13 @@ class DemoSink: public AbstractSink
 {
 
 public:
-       DemoSink(AbstractRoutingEngine* re);
+       DemoSink(AbstractRoutingEngine* re, map<string, string> config);
        ~DemoSink();
        
-       string uuid();
+       const string uuid();
        
-       void propertyChanged(VehicleProperty::Property property, AbstractPropertyType* value, string uuid);
-       void supportedChanged(PropertyList);
+       void propertyChanged( AbstractPropertyType* value);
+       void supportedChanged(const PropertyList &);
 
        friend class WheelPrivate;      
        
@@ -43,14 +43,5 @@ private:
        PropertySet mRequests;
 };
 
-class DemoSinkManager: public AbstractSinkManager
-{
-public:
-       DemoSinkManager(AbstractRoutingEngine* engine)
-       :AbstractSinkManager(engine)
-       {
-               new DemoSink(engine);
-       }
-};
 
 #endif // WHEELPLUGIN_H