Skip to content

Commit

Permalink
renamed core folder to gchd and moved files around
Browse files Browse the repository at this point in the history
Signed-off-by: Tolga Cakir <tolga@cevel.net>
  • Loading branch information
tolga9009 committed May 10, 2016
1 parent 35cb98b commit 9935940
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ PKG_CHECK_MODULES(LIBUSB libusb-1.0 REQUIRED)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})

AUX_SOURCE_DIRECTORY(${CMAKE_CURRENT_SOURCE_DIR} ROOT_SRC)
AUX_SOURCE_DIRECTORY("${CMAKE_CURRENT_SOURCE_DIR}/core" CORE_SRC)
LIST(APPEND SOURCE_LIST ${ROOT_SRC} ${CORE_SRC})
AUX_SOURCE_DIRECTORY("${CMAKE_CURRENT_SOURCE_DIR}/gchd" GCHD_SRC)
LIST(APPEND SOURCE_LIST ${ROOT_SRC} ${GCHD_SRC})

ADD_EXECUTABLE(${PROJECT_NAME} ${SOURCE_LIST})

Expand Down
2 changes: 1 addition & 1 deletion src/core/gchd.cpp → src/gchd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <fcntl.h>
#include <unistd.h>

#include <core/gchd.hpp>
#include <gchd.hpp>

// USB VID & PIDs
#define VENDOR_ELGATO 0x0fd9
Expand Down
2 changes: 1 addition & 1 deletion src/core/gchd.hpp → src/gchd.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

#include <libusb-1.0/libusb.h>

#include <core/settings.hpp>
#include <gchd/settings.hpp>

// endpoints
#define EP_OUT 0x02
Expand Down
2 changes: 1 addition & 1 deletion src/core/commands.cpp → src/gchd/commands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <cstdio>
#include <vector>

#include <core/gchd.hpp>
#include <gchd.hpp>

void GCHD::read_config(uint8_t bRequest, uint16_t wValue, uint16_t wIndex, uint16_t wLength) {
std::vector<unsigned char> recv(wLength);
Expand Down
2 changes: 1 addition & 1 deletion src/core/configure.cpp → src/gchd/configure.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* under the MIT License. For more information, see LICENSE file.
*/

#include <core/gchd.hpp>
#include <gchd.hpp>

void GCHD::configure_dev_mode() {
int is_configured = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* under the MIT License. For more information, see LICENSE file.
*/

#include <core/gchd.hpp>
#include <gchd.hpp>

void GCHD::configure_dev_1080p() {
configure_dev_mode();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* under the MIT License. For more information, see LICENSE file.
*/

#include <core/gchd.hpp>
#include <gchd.hpp>

void GCHD::configure_dev_576i() {
int is_configured = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* under the MIT License. For more information, see LICENSE file.
*/

#include <core/gchd.hpp>
#include <gchd.hpp>

void GCHD::configure_dev_720p() {
configure_dev_mode();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* under the MIT License. For more information, see LICENSE file.
*/

#include <core/gchd.hpp>
#include <gchd.hpp>

void GCHD::configure_dev_component_1080i() {
int is_configured = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* under the MIT License. For more information, see LICENSE file.
*/

#include <core/gchd.hpp>
#include <gchd.hpp>

void GCHD::configure_dev_component_1080p() {
int is_configured = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* under the MIT License. For more information, see LICENSE file.
*/

#include <core/gchd.hpp>
#include <gchd.hpp>

void GCHD::configure_dev_component_576p() {
int is_configured = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* under the MIT License. For more information, see LICENSE file.
*/

#include <core/gchd.hpp>
#include <gchd.hpp>

void GCHD::configure_dev_component_720p() {
int is_configured = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/core/settings.cpp → src/gchd/settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* under the MIT License. For more information, see LICENSE file.
*/

#include <core/settings.hpp>
#include <gchd/settings.hpp>

InputSource Settings::getInputSource() {
return inputSource_;
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

#include <unistd.h>

#include <core/gchd.hpp>
#include <gchd.hpp>
#include <process.hpp>
#include <streamer.hpp>

Expand Down
2 changes: 1 addition & 1 deletion src/streamer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#include <string>

#include <core/gchd.hpp>
#include <gchd.hpp>
#include <process.hpp>

class Streamer {
Expand Down

0 comments on commit 9935940

Please sign in to comment.