summaryrefslogtreecommitdiff
path: root/includes/command/CommandSendInterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/command/CommandSendInterface.h')
-rw-r--r--includes/command/CommandSendInterface.h27
1 files changed, 17 insertions, 10 deletions
diff --git a/includes/command/CommandSendInterface.h b/includes/command/CommandSendInterface.h
index 0da4d76..8ae8b50 100644
--- a/includes/command/CommandSendInterface.h
+++ b/includes/command/CommandSendInterface.h
@@ -22,22 +22,24 @@
*
* THIS CODE HAS BEEN GENERATED BY ENTERPRISE ARCHITECT GENIVI MODEL. PLEASE CHANGE ONLY IN ENTERPRISE ARCHITECT AND GENERATE AGAIN
*/
-#if !defined(EA_D28BAC35_CEA8_4ec8_AF26_00050F6CD9FA__INCLUDED_)
-#define EA_D28BAC35_CEA8_4ec8_AF26_00050F6CD9FA__INCLUDED_
+#if !defined(EA_B654AC7A_A617_46d0_836D_36974F99E750__INCLUDED_)
+#define EA_B654AC7A_A617_46d0_836D_36974F99E750__INCLUDED_
#include <vector>
#include <string>
#include "../audiomanagertypes.h"
-#include "CommandReceiveInterface.h"
-
-#include "CommandReceiveInterface.h"
+
+namespace am {
+class CommandReceiveInterface;
+}
+#define CommandSendVersion 1
namespace am {
/**
* This interface handles all communication from the AudioManagerDaemon towards the system. It is designed in such a way that only callbacks with no return types are implemented. So when the CommandInterfacePlugins are designed in such a way that they broadcast signals to any node who is interested in the particular information (like signals on Dbus for example), more information can be retrieved via the CommandReceiveInterface.
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:17 AM
+ * @created 11-Jan-2012 9:19:58 PM
*/
class CommandSendInterface
{
@@ -139,13 +141,18 @@ namespace am {
*/
virtual void cbSystemPropertyChanged(const am_SystemProperty_s& systemProperty) =0;
/**
- * this callback is called when the timinginformation for a mainconnection has changed.
+ * CommandReceiveVer_0.0.9.
*
- * @param mainConnection
* @param time
+ * @param mainConnectionID
+ */
+ virtual void cbTimingInformationChanged(const am_timeSync_t time, const am_mainConnectionID_t mainConnectionID) =0;
+ /**
+ * This function returns the version of the interface
+ * returns E_OK, E_UNKOWN if version is unknown.
*/
- virtual void cbTimingInformationChanged(const am_mainConnectionID_t mainConnection, const am_timeSync_t time) =0;
+ virtual uint16_t getInterfaceVersion() const =0;
};
}
-#endif // !defined(EA_D28BAC35_CEA8_4ec8_AF26_00050F6CD9FA__INCLUDED_)
+#endif // !defined(EA_B654AC7A_A617_46d0_836D_36974F99E750__INCLUDED_)