Browse Source

Clean up includes

tags/v1.0.0
Andrew Belt 5 years ago
parent
commit
3644b1877e
27 changed files with 47 additions and 52 deletions
  1. +1
    -3
      include/audio.hpp
  2. +1
    -0
      include/event.hpp
  3. +1
    -1
      include/keyboard.hpp
  4. +1
    -1
      include/math.hpp
  5. +1
    -1
      include/midi.hpp
  6. +1
    -2
      include/network.hpp
  7. +0
    -1
      include/rack0.hpp
  8. +1
    -1
      include/random.hpp
  9. +1
    -1
      include/rtmidi.hpp
  10. +0
    -3
      include/string.hpp
  11. +1
    -1
      include/system.hpp
  12. +1
    -1
      include/tags.hpp
  13. +3
    -3
      include/window.hpp
  14. +3
    -3
      src/asset.cpp
  15. +3
    -1
      src/audio.cpp
  16. +5
    -4
      src/bridge.cpp
  17. +2
    -1
      src/gamepad.cpp
  18. +1
    -1
      src/keyboard.cpp
  19. +1
    -1
      src/logger.cpp
  20. +3
    -2
      src/main.cpp
  21. +1
    -4
      src/midi.cpp
  22. +1
    -2
      src/network.cpp
  23. +2
    -2
      src/random.cpp
  24. +1
    -2
      src/rtmidi.cpp
  25. +2
    -0
      src/string.cpp
  26. +1
    -2
      src/system.cpp
  27. +8
    -8
      src/window.cpp

+ 1
- 3
include/audio.hpp View File

@@ -1,5 +1,5 @@
#pragma once
#include "common.hpp"
#include <jansson.h>

#pragma GCC diagnostic push
@@ -9,8 +9,6 @@
#include <RtAudio.h>
#pragma GCC diagnostic pop

#include "common.hpp"


namespace rack {



+ 1
- 0
include/event.hpp View File

@@ -1,4 +1,5 @@
#pragma once
#include "common.hpp"
#include "math.hpp"
#include <vector>



+ 1
- 1
include/keyboard.hpp View File

@@ -1,7 +1,7 @@
#pragma once
#include <map>
#include "common.hpp"
#include "midi.hpp"
#include <map>


namespace rack {


+ 1
- 1
include/math.hpp View File

@@ -1,6 +1,6 @@
#pragma once
#include <algorithm> // for std::min, max
#include "common.hpp"
#include <algorithm> // for std::min, max


namespace rack {


+ 1
- 1
include/midi.hpp View File

@@ -1,9 +1,9 @@
#pragma once
#include "common.hpp"
#include <vector>
#include <queue>
#include <set>
#include <jansson.h>
#include "common.hpp"


namespace rack {


+ 1
- 2
include/network.hpp View File

@@ -1,7 +1,6 @@
#pragma once
#include <string>
#include <jansson.h>
#include "common.hpp"
#include <jansson.h>


namespace rack {


+ 0
- 1
include/rack0.hpp View File

@@ -1,5 +1,4 @@
#pragma once

#include "rack.hpp"
#include "componentlibrary.hpp"



+ 1
- 1
include/random.hpp View File

@@ -1,6 +1,6 @@
#pragma once
#include <cstdint>
#include "common.hpp"
#include <cstdint>


namespace rack {


+ 1
- 1
include/rtmidi.hpp View File

@@ -1,5 +1,5 @@
#pragma once
#include "common.hpp"
#include "midi.hpp"
#include <map>



+ 0
- 3
include/string.hpp View File

@@ -1,8 +1,5 @@
#pragma once

#include "common.hpp"
#include <algorithm> // for transform
#include <libgen.h> // for dirname and basename


namespace rack {


+ 1
- 1
include/system.hpp View File

@@ -1,6 +1,6 @@
#pragma once
#include <list>
#include "common.hpp"
#include <list>


namespace rack {


+ 1
- 1
include/tags.hpp View File

@@ -1,5 +1,5 @@
#pragma once
#include <string>
#include "common.hpp"


namespace rack {


+ 3
- 3
include/window.hpp View File

@@ -1,4 +1,7 @@
#pragma once
#include "common.hpp"
#include "math.hpp"

#include <memory>
#define GLEW_STATIC
#include "GL/glew.h"
@@ -6,9 +9,6 @@
#include "nanovg.h"
#include "nanosvg.h"

#include "common.hpp"
#include "math.hpp"


#ifdef ARCH_MAC
#define WINDOW_MOD_KEY_NAME "Cmd"


+ 3
- 3
src/asset.cpp View File

@@ -1,3 +1,6 @@
#include "asset.hpp"
#include "system.hpp"

#if ARCH_MAC
#include <CoreFoundation/CoreFoundation.h>
#include <pwd.h>
@@ -15,9 +18,6 @@
#include <pwd.h>
#endif

#include "asset.hpp"
#include "system.hpp"


namespace rack {
namespace asset {


+ 3
- 1
src/audio.cpp View File

@@ -1,5 +1,7 @@
#include "rack.hpp"
#include "audio.hpp"
#include "logger.hpp"
#include "string.hpp"
#include "math.hpp"
#include "bridge.hpp"




+ 5
- 4
src/bridge.cpp View File

@@ -1,3 +1,8 @@
#include "bridge.hpp"
#include "string.hpp"
#include "logger.hpp"
#include "dsp/ringbuffer.hpp"

#include <unistd.h>
#if ARCH_WIN
#include <winsock2.h>
@@ -11,10 +16,6 @@

#include <thread>

#include "rack.hpp"
#include "bridge.hpp"
#include "dsp/ringbuffer.hpp"


namespace rack {



+ 2
- 1
src/gamepad.cpp View File

@@ -1,5 +1,6 @@
#include "rack.hpp"
#include "gamepad.hpp"
#include "string.hpp"
#include "window.hpp"


namespace rack {


+ 1
- 1
src/keyboard.cpp View File

@@ -1,5 +1,5 @@
#include "rack.hpp"
#include "keyboard.hpp"
#include "window.hpp"


namespace rack {


+ 1
- 1
src/logger.cpp View File

@@ -1,6 +1,6 @@
#include <chrono>
#include "logger.hpp"
#include "asset.hpp"
#include <chrono>


namespace rack {


+ 3
- 2
src/main.cpp View File

@@ -1,5 +1,4 @@
#include <unistd.h>
#include "osdialog.h"
#include "common.hpp"
#include "random.hpp"
#include "logger.hpp"
#include "asset.hpp"
@@ -12,6 +11,8 @@
#include "app/Scene.hpp"
#include "tags.hpp"
#include "plugin/PluginManager.hpp"
#include <unistd.h>
#include "osdialog.h"

#ifdef ARCH_WIN
#include <Windows.h>


+ 1
- 4
src/midi.cpp View File

@@ -1,9 +1,6 @@
#include "rack.hpp"
#include "midi.hpp"
#include "rtmidi.hpp"
#include "bridge.hpp"
#include "gamepad.hpp"
#include "keyboard.hpp"
#include <map>


namespace rack {


+ 1
- 2
src/network.cpp View File

@@ -1,9 +1,8 @@
#include "network.hpp"
#define CURL_STATICLIB
#include <curl/curl.h>
#include <openssl/sha.h>

#include "network.hpp"


namespace rack {
namespace network {


+ 2
- 2
src/random.cpp View File

@@ -1,7 +1,7 @@
#include <time.h>
#include <sys/time.h>
#include "random.hpp"
#include "math.hpp"
#include <time.h>
#include <sys/time.h>


namespace rack {


+ 1
- 2
src/rtmidi.cpp View File

@@ -1,6 +1,5 @@
#include <map>
#include "rack.hpp"
#include "rtmidi.hpp"
#include <map>


namespace rack {


+ 2
- 0
src/string.cpp View File

@@ -1,4 +1,6 @@
#include "string.hpp"
#include <algorithm> // for transform
#include <libgen.h> // for dirname and basename


namespace rack {


+ 1
- 2
src/system.cpp View File

@@ -1,3 +1,4 @@
#include "system.hpp"
#include <dirent.h>
#include <sys/stat.h>

@@ -6,8 +7,6 @@
#include <shellapi.h>
#endif

#include "system.hpp"


namespace rack {
namespace system {


+ 8
- 8
src/window.cpp View File

@@ -1,3 +1,11 @@
#include "window.hpp"
#include "logger.hpp"
#include "asset.hpp"
#include "app/Scene.hpp"
#include "keyboard.hpp"
#include "gamepad.hpp"
#include "event.hpp"

#include <map>
#include <queue>
#include <thread>
@@ -7,16 +15,8 @@
#include <ApplicationServices/ApplicationServices.h>
#endif


#include "osdialog.h"

#include "logger.hpp"
#include "asset.hpp"
#include "app/Scene.hpp"
#include "keyboard.hpp"
#include "gamepad.hpp"
#include "event.hpp"

#define NANOVG_GL2_IMPLEMENTATION 1
// #define NANOVG_GL3_IMPLEMENTATION 1
// #define NANOVG_GLES2_IMPLEMENTATION 1


Loading…
Cancel
Save