Commit c0ed11d 1 parent b1720ee commit c0ed11d Copy full SHA for c0ed11d
File tree 11 files changed +35
-86
lines changed
11 files changed +35
-86
lines changed Original file line number Diff line number Diff line change @@ -59,3 +59,5 @@ if(WIN32)
59
59
endif ()
60
60
61
61
add_library (code_src OBJECT ${SOURCES} ${HEADERS} )
62
+ target_link_libraries (code_src ${DEPLIBS} )
63
+
Original file line number Diff line number Diff line change 21
21
// ---------------------------------------------------------------------------
22
22
23
23
#include " addon.h"
24
-
24
+ #include " channeladd.h"
25
+ #include " channelsettings.h"
26
+ #include " dabstream.h"
27
+ #include " dbtypes.h"
28
+ #include " filedevice.h"
29
+ #include " fmstream.h"
30
+ #include " hdstream.h"
25
31
#include " stdafx.h"
32
+ #include " sqlite_exception.h"
33
+ #include " string_exception.h"
34
+ #include " tcpdevice.h"
35
+ #include " usbdevice.h"
36
+ #include " wxstream.h"
26
37
27
38
#include < assert.h>
28
39
#include < kodi/Filesystem.h>
35
46
#include < rapidjson/prettywriter.h>
36
47
#include < utility>
37
48
#include < vector>
38
- // #include <version.h>
39
49
40
- #ifdef __ANDROID__
41
- #include < android/log.h>
42
- #endif
50
+ #ifdef WIN32
51
+ #include < Windows.h>
43
52
44
- #include " channeladd.h"
45
- #include " channelsettings.h"
46
- #include " dabstream.h"
47
- #include " dbtypes.h"
48
- #include " filedevice.h"
49
- #include " fmstream.h"
50
- #include " hdstream.h"
51
- #include " sqlite_exception.h"
52
- #include " string_exception.h"
53
- #include " tcpdevice.h"
54
- #include " usbdevice.h"
55
- #include " wxstream.h"
53
+ #ifdef CreateDirectory
54
+ #undef CreateDirectory
55
+ #endif // CreateDirectory
56
56
57
+ #elif defined(__ANDROID__)
58
+ #include < android/log.h>
59
+ #endif
57
60
#pragma warning(push, 4)
58
61
59
62
// Addon Entry Points
Original file line number Diff line number Diff line change 25
25
#include " stdafx.h"
26
26
27
27
#include < algorithm>
28
+ #include < assert.h>
28
29
#include < stdexcept>
29
30
30
31
#pragma warning(push, 4)
Original file line number Diff line number Diff line change 22
22
23
23
#include " filedevice.h"
24
24
25
- #include " stdafx.h"
26
25
#include " string_exception.h"
27
26
27
+ #include < assert.h>
28
28
#include < chrono>
29
29
#include < limits.h>
30
30
#include < stdio.h>
Original file line number Diff line number Diff line change 25
25
#include " stdafx.h"
26
26
27
27
#include < algorithm>
28
+ #include < assert.h>
28
29
#include < stdexcept>
29
30
30
31
#pragma warning(push, 4)
Original file line number Diff line number Diff line change @@ -87,9 +87,9 @@ class ATTR_DLL_LOCAL renderingcontrol : public kodi::gui::CAddonGUIControlBase
87
87
// Stop (virtual)
88
88
//
89
89
// Stop the rendering process
90
- // virtual void Stop(void)
91
- // {
92
- // }
90
+ virtual void Stop (void )
91
+ {
92
+ }
93
93
94
94
protected:
95
95
// -------------------------------------------------------------------------
Original file line number Diff line number Diff line change 26
26
#include " stdafx.h"
27
27
#include " string_exception.h"
28
28
29
+ #include < assert.h>
29
30
#include < cmath>
30
31
#include < string.h>
31
32
Original file line number Diff line number Diff line change 24
24
#define __STDAFX_H_
25
25
#pragma once
26
26
27
- //---------------------------------------------------------------------------
28
- // Windows
29
- //---------------------------------------------------------------------------
30
-
31
- #if defined(_WINDOWS )
32
-
33
- #define WINVER _WIN32_WINNT_WIN8
34
- #define _WIN32_WINNT _WIN32_WINNT_WIN8
35
- #define _WIN32_IE _WIN32_IE_IE80
36
- #define NOMINMAX
37
-
38
- #include <WS2tcpip.h>
39
- #include <WinSock2.h>
40
- #include <Windows.h>
41
- #include <wchar.h> // Prevents redefinition of WCHAR_MIN by libusb
42
-
43
- #define TARGET_WINDOWS
44
- #define HAS_ANGLE
45
- #define HAS_GLES 3 // ANGLE supports GLESv3
46
-
47
- #define LIBANGLE_IMPLEMENTATION
48
- #define ANGLE_EXPORT
49
- #define ANGLE_UTIL_EXPORT
50
- #define EGLAPI
51
- #define GL_APICALL
52
- #define GL_API
53
-
54
- #define GL_GLES_PROTOTYPES 1
55
- #define EGL_EGL_PROTOTYPES 1
56
- #define GL_GLEXT_PROTOTYPES 1
57
- #define EGL_EGLEXT_PROTOTYPES 1
58
-
59
- // Android
60
- #elif defined(__ANDROID__ )
61
-
62
- #define TARGET_POSIX
63
- #define TARGET_LINUX
64
- #define TARGET_ANDROID
65
- #define HAS_GLES 3 // Android supports GLESv3
66
-
67
- // MacOS
68
- #elif defined(__APPLE__ )
69
-
70
- #define TARGET_POSIX
71
- #define TARGET_DARWIN
72
- #define TARGET_DARWIN_OSX
73
- #define HAS_GL 1
74
-
75
- // Linux
76
- #else
77
-
78
- #define TARGET_POSIX
79
- #define TARGET_LINUX
80
- #define HAS_GLES 2 // Assume GLESv2 support on Linux
81
-
82
- #endif
83
-
84
- #include <assert.h>
85
- #include <stdint.h>
86
-
87
27
// KiB / MiB / GiB
88
28
//
89
29
#define KiB *(1 << 10)
Original file line number Diff line number Diff line change 22
22
23
23
#include " tcpdevice.h"
24
24
25
- #include " stdafx.h"
26
-
27
25
#include < algorithm>
26
+ #include < assert.h>
28
27
#ifdef WIN32
29
- #include < Winsock2.h>
28
+ #include < WS2tcpip.h>
29
+ #include < WinSock2.h>
30
+ #include < Windows.h>
31
+ #include < wchar.h> // Prevents redefinition of WCHAR_MIN by libusb
30
32
#else
31
33
#include < arpa/inet.h>
32
34
#include < netdb.h>
Original file line number Diff line number Diff line change 22
22
23
23
#include " win32_exception.h"
24
24
25
- #include " stdafx.h"
26
-
27
25
#pragma warning(push, 4)
28
26
29
27
// -----------------------------------------------------------------------------
Original file line number Diff line number Diff line change 26
26
27
27
#include < exception>
28
28
#include < string>
29
+ #include < windows.h>
29
30
30
31
#pragma warning(push, 4)
31
32
You can’t perform that action at this time.
0 commit comments