changed the year in copyright notices to 2011-2012
[deb_libcec.git] / src / lib / adapter / AdapterCommunication.h
index 3d74546d5e5b970a0ab93204fdea01591ac4f77e..e8dab2a6dba3d3d96e2978b4b06e92696c9891a6 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * This file is part of the libCEC(R) library.
  *
- * libCEC(R) is Copyright (C) 2011 Pulse-Eight Limited.  All rights reserved.
+ * libCEC(R) is Copyright (C) 2011-2012 Pulse-Eight Limited.  All rights reserved.
  * libCEC(R) is an original work, containing original code.
  *
  * libCEC(R) is a trademark of Pulse-Eight Limited.
@@ -32,7 +32,9 @@
  */
 
 #include <cectypes.h>
-#include "platform/os.h"
+#include "../platform/threads/threads.h"
+#include "../platform/util/buffer.h"
+#include "../platform/util/StdString.h"
 
 namespace PLATFORM
 {
@@ -55,7 +57,7 @@ namespace CEC
     bool Write(CCECAdapterMessage *data);
     void Close(void);
     bool IsOpen(void);
-    std::string GetError(void) const;
+    CStdString GetError(void) const;
 
     void *Process(void);
 
@@ -65,7 +67,7 @@ namespace CEC
     bool PingAdapter(void);
     uint16_t GetFirmwareVersion(void);
 
-    bool WaitForTransmitSucceeded(CCECAdapterMessage *message);
+    bool WaitForAck(CCECAdapterMessage &message);
 
   private:
     void SendMessageToAdapter(CCECAdapterMessage *msg);