[client,sdl] rename c++ headers to hpp
This commit is contained in:
parent
c35b41c05d
commit
86470103c4
@ -74,20 +74,20 @@ endif()
|
||||
|
||||
set(SRCS
|
||||
sdl_utils.cpp
|
||||
sdl_utils.h
|
||||
sdl_utils.hpp
|
||||
sdl_kbd.cpp
|
||||
sdl_kbd.h
|
||||
sdl_kbd.hpp
|
||||
sdl_touch.cpp
|
||||
sdl_touch.h
|
||||
sdl_touch.hpp
|
||||
sdl_pointer.cpp
|
||||
sdl_pointer.h
|
||||
sdl_pointer.hpp
|
||||
sdl_disp.cpp
|
||||
sdl_disp.h
|
||||
sdl_disp.hpp
|
||||
sdl_monitor.cpp
|
||||
sdl_monitor.h
|
||||
sdl_freerdp.h
|
||||
sdl_monitor.hpp
|
||||
sdl_freerdp.hpp
|
||||
sdl_freerdp.cpp
|
||||
sdl_channels.h
|
||||
sdl_channels.hpp
|
||||
sdl_channels.cpp)
|
||||
|
||||
set(LIBS
|
||||
|
@ -25,9 +25,9 @@
|
||||
#include <freerdp/client/cliprdr.h>
|
||||
#include <freerdp/client/disp.h>
|
||||
|
||||
#include "sdl_channels.h"
|
||||
#include "sdl_freerdp.h"
|
||||
#include "sdl_disp.h"
|
||||
#include "sdl_channels.hpp"
|
||||
#include "sdl_freerdp.hpp"
|
||||
#include "sdl_disp.hpp"
|
||||
|
||||
void sdl_OnChannelConnectedEventHandler(void* context, const ChannelConnectedEventArgs* e)
|
||||
{
|
||||
|
@ -25,9 +25,9 @@
|
||||
|
||||
#include <SDL.h>
|
||||
|
||||
#include "sdl_disp.h"
|
||||
#include "sdl_kbd.h"
|
||||
#include "sdl_utils.h"
|
||||
#include "sdl_disp.hpp"
|
||||
#include "sdl_kbd.hpp"
|
||||
#include "sdl_utils.hpp"
|
||||
|
||||
#include <freerdp/log.h>
|
||||
#define TAG CLIENT_TAG("sdl.disp")
|
||||
|
@ -21,7 +21,7 @@
|
||||
#include <freerdp/types.h>
|
||||
#include <freerdp/client/disp.h>
|
||||
|
||||
#include "sdl_freerdp.h"
|
||||
#include "sdl_freerdp.hpp"
|
||||
|
||||
BOOL sdl_disp_init(sdlDispContext* xfDisp, DispClientContext* disp);
|
||||
BOOL sdl_disp_uninit(sdlDispContext* xfDisp, DispClientContext* disp);
|
@ -45,14 +45,14 @@
|
||||
#include <SDL.h>
|
||||
#include <SDL_video.h>
|
||||
|
||||
#include "sdl_channels.h"
|
||||
#include "sdl_freerdp.h"
|
||||
#include "sdl_utils.h"
|
||||
#include "sdl_disp.h"
|
||||
#include "sdl_monitor.h"
|
||||
#include "sdl_kbd.h"
|
||||
#include "sdl_touch.h"
|
||||
#include "sdl_pointer.h"
|
||||
#include "sdl_channels.hpp"
|
||||
#include "sdl_freerdp.hpp"
|
||||
#include "sdl_utils.hpp"
|
||||
#include "sdl_disp.hpp"
|
||||
#include "sdl_monitor.hpp"
|
||||
#include "sdl_kbd.hpp"
|
||||
#include "sdl_touch.hpp"
|
||||
#include "sdl_pointer.hpp"
|
||||
|
||||
#define SDL_TAG CLIENT_TAG("SDL")
|
||||
|
||||
|
@ -65,4 +65,3 @@ typedef struct
|
||||
|
||||
wLog* log;
|
||||
} sdlContext;
|
||||
|
@ -17,10 +17,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include "sdl_kbd.h"
|
||||
#include "sdl_disp.h"
|
||||
#include "sdl_freerdp.h"
|
||||
#include "sdl_utils.h"
|
||||
#include "sdl_kbd.hpp"
|
||||
#include "sdl_disp.hpp"
|
||||
#include "sdl_freerdp.hpp"
|
||||
#include "sdl_utils.hpp"
|
||||
|
||||
#include <freerdp/scancode.h>
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include <freerdp/freerdp.h>
|
||||
#include <SDL.h>
|
||||
|
||||
#include "sdl_freerdp.h"
|
||||
#include "sdl_freerdp.hpp"
|
||||
|
||||
BOOL sdl_sync_kbd_state(rdpContext* context);
|
||||
BOOL sdl_keyboard_focus_in(rdpContext* context);
|
@ -34,7 +34,7 @@
|
||||
|
||||
#define TAG CLIENT_TAG("sdl")
|
||||
|
||||
#include "sdl_monitor.h"
|
||||
#include "sdl_monitor.hpp"
|
||||
|
||||
typedef struct
|
||||
{
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include <freerdp/api.h>
|
||||
#include <freerdp/freerdp.h>
|
||||
|
||||
#include "sdl_freerdp.h"
|
||||
#include "sdl_freerdp.hpp"
|
||||
|
||||
int sdl_list_monitors(sdlContext* sdl);
|
||||
BOOL sdl_detect_monitors(sdlContext* sdl, UINT32* pWidth, UINT32* pHeight);
|
@ -21,10 +21,10 @@
|
||||
|
||||
#include <freerdp/gdi/gdi.h>
|
||||
|
||||
#include "sdl_pointer.h"
|
||||
#include "sdl_freerdp.h"
|
||||
#include "sdl_touch.h"
|
||||
#include "sdl_utils.h"
|
||||
#include "sdl_pointer.hpp"
|
||||
#include "sdl_freerdp.hpp"
|
||||
#include "sdl_touch.hpp"
|
||||
#include "sdl_utils.hpp"
|
||||
|
||||
#include <SDL_mouse.h>
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <freerdp/graphics.h>
|
||||
#include "sdl_freerdp.h"
|
||||
#include "sdl_freerdp.hpp"
|
||||
|
||||
BOOL sdl_register_pointer(rdpGraphics* graphics);
|
||||
|
@ -19,8 +19,8 @@
|
||||
|
||||
#include <freerdp/config.h>
|
||||
|
||||
#include "sdl_touch.h"
|
||||
#include "sdl_freerdp.h"
|
||||
#include "sdl_touch.hpp"
|
||||
#include "sdl_freerdp.hpp"
|
||||
|
||||
#include <winpr/wtypes.h>
|
||||
#include <winpr/assert.h>
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "sdl_freerdp.h"
|
||||
#include "sdl_freerdp.hpp"
|
||||
|
||||
BOOL sdl_scale_coordinates(sdlContext* sdl, Uint32 windowId, INT32* px, INT32* py,
|
||||
BOOL fromLocalToRDP, BOOL applyOffset);
|
@ -18,9 +18,9 @@
|
||||
*/
|
||||
|
||||
#include <assert.h>
|
||||
#include "sdl_utils.h"
|
||||
#include "sdl_utils.hpp"
|
||||
|
||||
#include "sdl_freerdp.h"
|
||||
#include "sdl_freerdp.hpp"
|
||||
|
||||
#include <SDL.h>
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
#include <stdbool.h>
|
||||
#include <SDL.h>
|
||||
|
||||
#include "sdl_freerdp.h"
|
||||
#include "sdl_freerdp.hpp"
|
||||
|
||||
enum
|
||||
{
|
Loading…
Reference in New Issue
Block a user