summaryrefslogtreecommitdiff
path: root/includes/control/ControlReceiveInterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/control/ControlReceiveInterface.h')
-rw-r--r--includes/control/ControlReceiveInterface.h21
1 files changed, 16 insertions, 5 deletions
diff --git a/includes/control/ControlReceiveInterface.h b/includes/control/ControlReceiveInterface.h
index 5becc5b..bcdd451 100644
--- a/includes/control/ControlReceiveInterface.h
+++ b/includes/control/ControlReceiveInterface.h
@@ -22,19 +22,23 @@
*
* THIS CODE HAS BEEN GENERATED BY ENTERPRISE ARCHITECT GENIVI MODEL. PLEASE CHANGE ONLY IN ENTERPRISE ARCHITECT AND GENERATE AGAIN
*/
-#if !defined(EA_F9251584_1FDF_4c41_AF43_CDD2C4EAC0D0__INCLUDED_)
-#define EA_F9251584_1FDF_4c41_AF43_CDD2C4EAC0D0__INCLUDED_
+#if !defined(EA_0244757B_93AD_4fd4_83D0_7AB70C332042__INCLUDED_)
+#define EA_0244757B_93AD_4fd4_83D0_7AB70C332042__INCLUDED_
#include <vector>
#include <string>
-#include "../audiomanagertypes.h"
+#include "../audiomanagertypes.h"
+namespace am {
+class SocketHandler;
+}
+
namespace am {
/**
* This interface gives access to all important functions of the audiomanager that are used by the AudioManagerController to control the system.
* @author christian
* @version 1.0
- * @created 12-Dec-2011 8:33:25 PM
+ * @created 22-Dec-2011 12:55:17 AM
*/
class ControlReceiveInterface
{
@@ -525,7 +529,14 @@ namespace am {
* sets the routinginterface to ready.
*/
virtual void setRoutingReady() =0;
+ /**
+ * This function returns the pointer to the socketHandler. This can be used to integrate socket-based activites like communication with the mainloop of the AudioManager.
+ * returns E_OK if pointer is valid, E_UNKNOWN in case AudioManager was compiled without socketHandler support,
+ *
+ * @param socketHandler
+ */
+ virtual am_Error_e getSocketHandler(SocketHandler*& socketHandler) =0;
};
}
-#endif // !defined(EA_F9251584_1FDF_4c41_AF43_CDD2C4EAC0D0__INCLUDED_)
+#endif // !defined(EA_0244757B_93AD_4fd4_83D0_7AB70C332042__INCLUDED_)