cec: moved CEC handlers to implementations/
authorLars Op den Kamp <lars@opdenkamp.eu>
Wed, 26 Oct 2011 23:10:01 +0000 (01:10 +0200)
committerLars Op den Kamp <lars@opdenkamp.eu>
Wed, 26 Oct 2011 23:10:01 +0000 (01:10 +0200)
src/lib/CECBusDevice.cpp
src/lib/CECBusDevice.h
src/lib/Makefile.am
src/lib/implementations/ANCommandHandler.cpp [moved from src/lib/ANCommandHandler.cpp with 100% similarity]
src/lib/implementations/ANCommandHandler.h [moved from src/lib/ANCommandHandler.h with 100% similarity]
src/lib/implementations/CECCommandHandler.cpp [moved from src/lib/CECCommandHandler.cpp with 100% similarity]
src/lib/implementations/CECCommandHandler.h [moved from src/lib/CECCommandHandler.h with 100% similarity]
src/lib/implementations/SLCommandHandler.cpp [moved from src/lib/SLCommandHandler.cpp with 100% similarity]
src/lib/implementations/SLCommandHandler.h [moved from src/lib/SLCommandHandler.h with 100% similarity]

index bcd73cfd908532617fe2c530592024433de33ff3..9eb2ed6e4d2aeb68efb543327ebbd04836730376 100644 (file)
@@ -32,8 +32,9 @@
 
 #include "CECBusDevice.h"
 #include "CECProcessor.h"
-#include "ANCommandHandler.h"
-#include "SLCommandHandler.h"
+#include "implementations/ANCommandHandler.h"
+#include "implementations/CECCommandHandler.h"
+#include "implementations/SLCommandHandler.h"
 
 using namespace CEC;
 
index b7ae7e92bb1a5455e77552afe300905473d61d1e..fc42556e320e2fc1f85268e7a77844a48b1cc8e6 100644 (file)
  *     http://www.pulse-eight.net/
  */
 
-#include "CECCommandHandler.h"
+#include <cectypes.h>
 #include "platform/threads.h"
 #include "util/StdString.h"
 
 namespace CEC
 {
   class CCECProcessor;
+  class CCECCommandHandler;
 
   class CCECBusDevice
   {
index c608a6701ac3801352bb6e8158b73e448f293f6b..243c3177b7ef452321b85e36b370d37098a7496f 100644 (file)
@@ -12,20 +12,20 @@ libcec_la_SOURCES = AdapterCommunication.cpp \
                     AdapterCommunication.h \
                     AdapterDetection.cpp \
                     AdapterDetection.h \
-                    ANCommandHandler.cpp \
-                    ANCommandHandler.h \
                     CECBusDevice.cpp \
                     CECBusDevice.h \
-                    CECCommandHandler.cpp \
-                    CECCommandHandler.h \
                     CECProcessor.cpp \
                     CECProcessor.h \
                     LibCEC.cpp \
                     LibCEC.h \
                     LibCECC.cpp \
-                    SLCommandHandler.cpp \
-                    SLCommandHandler.h \
                     util/StdString.h \
+                    implementations/ANCommandHandler.cpp \
+                    implementations/ANCommandHandler.h \
+                    implementations/CECCommandHandler.cpp \
+                    implementations/CECCommandHandler.h \
+                    implementations/SLCommandHandler.cpp \
+                    implementations/SLCommandHandler.h \
                     platform/timeutils.h \
                     platform/baudrate.h \
                     platform/os-dependent.h \