Move sources into src directory
authorRomain Forlot <romain.forlot@iot.bzh>
Tue, 14 Feb 2017 13:32:55 +0000 (14:32 +0100)
committerRomain Forlot <romain.forlot@iot.bzh>
Tue, 14 Feb 2017 13:32:55 +0000 (14:32 +0100)
make some cleaning

Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
22 files changed:
.gitmodules
src/CMakeLists.txt [moved from CMakeLists.txt with 100% similarity]
src/can-decoder.cpp [moved from can-decoder.cpp with 100% similarity]
src/can-decoder.h [moved from can-decoder.h with 100% similarity]
src/can-signals.cpp [moved from can-signals.cpp with 100% similarity]
src/can-signals.h [moved from can-signals.h with 100% similarity]
src/can-utils.cpp [moved from can-utils.cpp with 100% similarity]
src/can-utils.h [moved from can-utils.h with 100% similarity]
src/can_decode_message.cpp [moved from can_decoder.cpp with 95% similarity]
src/can_event_push.cpp [moved from can_event_push.cpp with 100% similarity]
src/can_reader.cpp [moved from can_reader.cpp with 100% similarity]
src/config.xml.in [moved from config.xml.in with 100% similarity]
src/export.map [moved from export.map with 100% similarity]
src/icon.png [moved from icon.png with 100% similarity]
src/libs/bitfield-c [moved from libs/bitfield-c with 100% similarity]
src/libs/nanopb [moved from libs/nanopb with 100% similarity]
src/libs/openxc-message-format [moved from libs/openxc-message-format with 100% similarity]
src/libs/uds-c [moved from libs/uds-c with 100% similarity]
src/low-can-binding.cpp [moved from low-can-binding.cpp with 100% similarity]
src/obd2.cpp [moved from obd2.cpp with 100% similarity]
src/obd2.h [moved from obd2.h with 100% similarity]
src/timer.h [moved from timer.h with 100% similarity]

index 2faeffa..6b8fd5a 100644 (file)
@@ -1,12 +1,12 @@
-[submodule "libs/openxc-message-format"]
-       path = libs/openxc-message-format
+[submodule "src/libs/openxc-message-format"]
+       path = src/libs/openxc-message-format
        url = git@github.com:openxc/openxc-message-format.git
-[submodule "libs/nanopb"]
-       path = libs/nanopb
+[submodule "src/libs/nanopb"]
+       path = src/libs/nanopb
        url = git@github.com:nanopb/nanopb.git
-[submodule "libs/uds-c"]
-       path = libs/uds-c
+[submodule "src/libs/uds-c"]
+       path = src/libs/uds-c
        url = git@github.com:openxc/uds-c.git
-[submodule "libs/bitfield-c"]
-       path = libs/bitfield-c
+[submodule "src/libs/bitfield-c"]
+       path = src/libs/bitfield-c
        url = git@github.com:openxc/bitfield-c.git
similarity index 100%
rename from CMakeLists.txt
rename to src/CMakeLists.txt
similarity index 100%
rename from can-decoder.cpp
rename to src/can-decoder.cpp
similarity index 100%
rename from can-decoder.h
rename to src/can-decoder.h
similarity index 100%
rename from can-signals.cpp
rename to src/can-signals.cpp
similarity index 100%
rename from can-signals.h
rename to src/can-signals.h
similarity index 100%
rename from can-utils.cpp
rename to src/can-utils.cpp
similarity index 100%
rename from can-utils.h
rename to src/can-utils.h
similarity index 95%
rename from can_decoder.cpp
rename to src/can_decode_message.cpp
index 5de6eda..ba82202 100644 (file)
@@ -25,7 +25,7 @@
 #include "can-utils.h"
 #include "openxc.pb.h"
 
-void decode_can_message(CanBus_c *can_bus)
+void can_decode_message(CanBus_c *can_bus)
 {
        CanMessage_c can_message;
 
@@ -37,4 +37,4 @@ void decode_can_message(CanBus_c *can_bus)
                        can_bus->can_message_q.pop();
                }
        }
-}
+}
\ No newline at end of file
similarity index 100%
rename from can_event_push.cpp
rename to src/can_event_push.cpp
similarity index 100%
rename from can_reader.cpp
rename to src/can_reader.cpp
similarity index 100%
rename from config.xml.in
rename to src/config.xml.in
similarity index 100%
rename from export.map
rename to src/export.map
similarity index 100%
rename from icon.png
rename to src/icon.png
similarity index 100%
rename from libs/bitfield-c
rename to src/libs/bitfield-c
similarity index 100%
rename from libs/nanopb
rename to src/libs/nanopb
similarity index 100%
rename from libs/uds-c
rename to src/libs/uds-c
similarity index 100%
rename from low-can-binding.cpp
rename to src/low-can-binding.cpp
similarity index 100%
rename from obd2.cpp
rename to src/obd2.cpp
similarity index 100%
rename from obd2.h
rename to src/obd2.h
similarity index 100%
rename from timer.h
rename to src/timer.h