Chrony plugin code simplification
authorOlivier Delbeke <olivier.delbeke@awtce.be>
Wed, 8 Apr 2015 16:11:17 +0000 (18:11 +0200)
committerOlivier Delbeke <olivier.delbeke@gmail.com>
Wed, 15 Apr 2015 18:15:53 +0000 (20:15 +0200)
plugins/chrony/chrony.cpp
plugins/chrony/chrony.h

index 8f12248..aa7737c 100644 (file)
@@ -40,7 +40,6 @@ extern "C" void create(AbstractRoutingEngine* routingEngine, map<string, string>
 ChronySink::ChronySink(AbstractRoutingEngine* re, const std::map<std::string, std::string>& config, AbstractSource& parent)
        :AmbPluginImpl(re, config, parent)
 {
-       supportedChanged(re->supported());
 }
 
 void ChronySink::init()
@@ -52,11 +51,6 @@ PropertyList ChronySink::subscriptions()
 {
 }
 
-void ChronySink::supportedChanged(const PropertyList & supportedProperties)
-{
-       DebugOut()<<"Support changed!"<<endl;
-}
-
 void ChronySink::propertyChanged(AbstractPropertyType *value)
 {
        int sockfd;
index 25da7e0..f694c5a 100644 (file)
@@ -43,7 +43,6 @@ public:
        const std::string uuid() const { return "35324592-db72-11e4-b432-0022684a4a24"; }
        virtual void init();
        virtual PropertyList subscriptions();
-       virtual void supportedChanged(const PropertyList & supportedProperties);
        virtual void propertyChanged( AbstractPropertyType* value);
 
 };