summaryrefslogtreecommitdiff
path: root/AudioManagerDaemon/include/DatabaseHandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'AudioManagerDaemon/include/DatabaseHandler.h')
-rw-r--r--AudioManagerDaemon/include/DatabaseHandler.h3
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);