diff options
author | Aleksander Donchev <aleksander.donchev@partner.bmw.de> | 2013-07-08 11:27:30 +0200 |
---|---|---|
committer | Aleksander Donchev <aleksander.donchev@partner.bmw.de> | 2013-07-10 14:59:18 +0200 |
commit | de452ebdcfe9ca3cd3b2467c3e25960e7a58e49e (patch) | |
tree | f210a063672aa5a8abc2a54fe3c78ddaf9dd625a /AudioManagerDaemon/include/CAmDatabaseHandlerInterface.h | |
parent | e18331e64352b881268ca6f8db1d127113dd1519 (diff) | |
download | audiomanager-de452ebdcfe9ca3cd3b2467c3e25960e7a58e49e.tar.gz |
Added 'Dump' method to the database handler and to the telnet server (Info -> Dump). Unit tests for the database handler splited into separate file. Base log class added in order to support logging into a file.
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Diffstat (limited to 'AudioManagerDaemon/include/CAmDatabaseHandlerInterface.h')
-rw-r--r-- | AudioManagerDaemon/include/CAmDatabaseHandlerInterface.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/AudioManagerDaemon/include/CAmDatabaseHandlerInterface.h b/AudioManagerDaemon/include/CAmDatabaseHandlerInterface.h index 58d97bc..de50511 100644 --- a/AudioManagerDaemon/include/CAmDatabaseHandlerInterface.h +++ b/AudioManagerDaemon/include/CAmDatabaseHandlerInterface.h @@ -26,6 +26,7 @@ #include <map> #include <vector> #include <string> +#include <iostream> namespace am { @@ -185,6 +186,8 @@ public: virtual void registerObserver(CAmDatabaseObserver *iObserver) = 0; virtual bool sourceVisible(const am_sourceID_t sourceID) const = 0; virtual bool sinkVisible(const am_sinkID_t sinkID) const = 0; + + virtual void dump( std::ostream & output) { output << __FUNCTION__ << " not implemented!"; }; }; } |