diff options
author | christian mueller <christian.ei.mueller@bmw.de> | 2012-02-01 10:50:15 +0100 |
---|---|---|
committer | christian mueller <christian.ei.mueller@bmw.de> | 2012-02-01 14:01:29 +0100 |
commit | 9f4c15a8e89d798077ca3edf7f786dbc740aa176 (patch) | |
tree | 878af38925ee08720418790d85b9938877aa452e /AudioManagerDaemon/src/main.cpp | |
parent | 52a769615e476860f3e4c0196fdf7e5159a7a7c1 (diff) | |
download | audiomanager-9f4c15a8e89d798077ca3edf7f786dbc740aa176.tar.gz |
* implemented peeksinkclassIDs and peeksourceclassIDs
* changed interface of both from const to non-const
* corrected include headers to c++ style, eg. <cassert>
* corrected sendChangedData return type to void
* implemented tests for sinkclass and sourceclass peeking
* fixed bug in sockethandler (FD could not be removed) thanks to Frank
Diffstat (limited to 'AudioManagerDaemon/src/main.cpp')
-rw-r--r-- | AudioManagerDaemon/src/main.cpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/AudioManagerDaemon/src/main.cpp b/AudioManagerDaemon/src/main.cpp index a57e6c0..faaafdb 100644 --- a/AudioManagerDaemon/src/main.cpp +++ b/AudioManagerDaemon/src/main.cpp @@ -26,13 +26,11 @@ * Please make sure to have read the documentation on genivi.org! */ -//todo: make real daemon out of it- systemd conform -//todo: versioning of PluginInterfaces on linux level (.symver stuff) +//todo: create systemd compatibility //todo: all communication like all plugins loaded etc... //todo: seperate documentation of test from normal project //todo: check the startup sequence. Dbus shall be activated last... //todo: there is a bug in the visible flags of sinks and sources. fix it. -//todo: make sure that iterators have a fixed end to prevent crashed while adding vectors while iterating on critical vectors //todo: make sure all configurations are tested //todo: clean up startup sequences controller, command and routing interfaces---- #include <config.h> @@ -54,13 +52,13 @@ #include <sys/resource.h> #include <sys/stat.h> #include <unistd.h> -#include <stdlib.h> #include <cstdlib> -#include <assert.h> +#include <cstdlib> +#include <cassert> #include <fcntl.h> -#include <signal.h> -#include <string.h> -#include <stdio.h> +#include <csignal> +#include <cstring> +#include <cstdio> DLT_DECLARE_CONTEXT(AudioManager) |