[client,sdl] rename c++ headers to hpp

This commit is contained in:
Armin Novak 2023-04-14 08:36:05 +02:00 committed by akallabeth
parent c35b41c05d
commit 86470103c4
17 changed files with 41 additions and 42 deletions

View File

@ -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

View File

@ -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)
{

View File

@ -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")

View File

@ -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);

View File

@ -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")

View File

@ -65,4 +65,3 @@ typedef struct
wLog* log;
} sdlContext;

View File

@ -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>

View File

@ -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);

View File

@ -34,7 +34,7 @@
#define TAG CLIENT_TAG("sdl")
#include "sdl_monitor.h"
#include "sdl_monitor.hpp"
typedef struct
{

View File

@ -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);

View File

@ -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>

View File

@ -20,7 +20,7 @@
#pragma once
#include <freerdp/graphics.h>
#include "sdl_freerdp.h"
#include "sdl_freerdp.hpp"
BOOL sdl_register_pointer(rdpGraphics* graphics);

View File

@ -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>

View File

@ -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);

View File

@ -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>

View File

@ -24,7 +24,7 @@
#include <stdbool.h>
#include <SDL.h>
#include "sdl_freerdp.h"
#include "sdl_freerdp.hpp"
enum
{