diff options
author | christian mueller <christian.ei.mueller@bmw.de> | 2012-01-25 16:34:37 +0100 |
---|---|---|
committer | christian mueller <christian.ei.mueller@bmw.de> | 2012-01-25 16:34:37 +0100 |
commit | 93c6b1973d59ce225e9cb5d2bcaea7d01c5fda52 (patch) | |
tree | 534c61f088fbfcdbf53e55cd53c922d2670ea97a /AudioManagerDaemon/include/DatabaseHandler.h | |
parent | af0ba5b505b361679c07899187b7043d867742c3 (diff) | |
download | audiomanager-93c6b1973d59ce225e9cb5d2bcaea7d01c5fda52.tar.gz |
* routing algorithm improvements
* routing algorithms first tests
Diffstat (limited to 'AudioManagerDaemon/include/DatabaseHandler.h')
-rw-r--r-- | AudioManagerDaemon/include/DatabaseHandler.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/AudioManagerDaemon/include/DatabaseHandler.h b/AudioManagerDaemon/include/DatabaseHandler.h index 5d1cac7..96065bd 100644 --- a/AudioManagerDaemon/include/DatabaseHandler.h +++ b/AudioManagerDaemon/include/DatabaseHandler.h @@ -28,6 +28,7 @@ #include "audiomanagertypes.h" #include <sqlite3.h> #include <map> +#include <list> namespace am { @@ -130,7 +131,7 @@ public: am_Error_e getDomainOfSink(const am_sinkID_t sinkID, am_domainID_t& domainID) const; am_Error_e getSoureState(const am_sourceID_t sourceID, am_SourceState_e& sourceState) const; am_Error_e getDomainState(const am_domainID_t domainID, am_DomainState_e state) const; - am_Error_e getRoutingTree(bool onlyfree, RoutingTree* tree, std::vector<RoutingTreeItem*>* flatTree); + am_Error_e getRoutingTree(bool onlyfree, RoutingTree& tree, std::vector<RoutingTreeItem*>& flatTree); am_Error_e peekDomain(const std::string& name, am_domainID_t& domainID); am_Error_e peekSink(const std::string& name, am_sinkID_t& sinkID); am_Error_e peekSource(const std::string& name, am_sourceID_t& sourceID); |