more progress
authorKevron Rees <kevron_m_rees@linux.intel.com>
Fri, 10 Aug 2012 19:49:51 +0000 (12:49 -0700)
committerKevron Rees <kevron_m_rees@linux.intel.com>
Fri, 10 Aug 2012 19:49:51 +0000 (12:49 -0700)
lib/CMakeLists.txt
lib/abstractsource.cpp
lib/abstractsource.h

index 9d5e1de..8f0835c 100644 (file)
@@ -1,5 +1,5 @@
 
-set(amb_sources abstractsink.cpp vehicleproperty.cpp abstractsource.cpp debugout.cpp)
+set(amb_sources listplusplus.cpp abstractsink.cpp vehicleproperty.cpp abstractsource.cpp debugout.cpp)
 set(amb_headers_install vehicleproperty.h debugout.h abstractsource.h)
 include_directories( ${include_dirs} )
 add_library(amb SHARED ${amb_sources})
index bd75d0b..2f70f11 100644 (file)
@@ -29,6 +29,12 @@ void AbstractSource::propertyChanged(VehicleProperty::Property property, boost::
        mPropertyChangedCb(property, value);
 }
 
+void AbstractSource::supportedChanged(PropertyList addedList, PropertyList removed)
+{
+       mSupportedChangedCb(addedList, removed);
+}
+
+
 void AbstractSource::setPropertyChangedCb(PropertyChangedSignal propertyChangedCb)
 {
        mPropertyChangedCb = propertyChangedCb;
index 8c23816..998a314 100644 (file)
@@ -45,6 +45,7 @@ public:
        AbstractSource();
 
        void propertyChanged(VehicleProperty::Property property, boost::any value);
+       void supportedChanged(PropertyList added, PropertyList removed);
 
        void setPropertyChangedCb(PropertyChangedSignal propertyChangedCb);
        void setSupportedChangedCb(SupportedChangedSignal supportedChangedCb);