FreeRDP
SDL3/sdl_utils.cpp File Reference
#include <cassert>
#include "sdl_utils.hpp"
#include "sdl_freerdp.hpp"
#include <SDL3/SDL.h>
#include <freerdp/version.h>

Macros

#define STR(x)   #x
 
#define EV_CASE_STR(x)
 

Functions

const char * sdl_event_type_str (Uint32 type)
 
const char * sdl_error_string (Uint32 res)
 
BOOL sdl_log_error_ex (Uint32 res, wLog *log, const char *what, const char *file, size_t line, const char *fkt)
 
BOOL sdl_push_user_event (Uint32 type,...)
 
bool sdl_push_quit ()
 
std::string sdl_window_event_str (Uint32 ev)
 

Macro Definition Documentation

◆ EV_CASE_STR

#define EV_CASE_STR (   x)
Value:
case x: \
return STR(x)
#define STR(x)
Definition: SDL3/sdl_utils.cpp:29
UINT16 x
Definition: include/freerdp/event.h:110

◆ STR

#define STR (   x)    #x

FreeRDP: A Remote Desktop Protocol Implementation SDL Client

Copyright 2022 Armin Novak armin.nosp@m..nov.nosp@m.ak@th.nosp@m.inca.nosp@m.st.co.nosp@m.m

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Function Documentation

◆ sdl_error_string()

const char* sdl_error_string ( Uint32  res)
Here is the caller graph for this function:

◆ sdl_event_type_str()

const char* sdl_event_type_str ( Uint32  type)

FreeRDP: A Remote Desktop Protocol Implementation SDL Client

Copyright 2022 Armin Novak armin.nosp@m..nov.nosp@m.ak@th.nosp@m.inca.nosp@m.st.co.nosp@m.m

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Here is the caller graph for this function:

◆ sdl_log_error_ex()

BOOL sdl_log_error_ex ( Uint32  res,
wLog *  log,
const char *  what,
const char *  file,
size_t  line,
const char *  fkt 
)
Here is the call graph for this function:

◆ sdl_push_quit()

bool sdl_push_quit ( )

◆ sdl_push_user_event()

BOOL sdl_push_user_event ( Uint32  type,
  ... 
)

◆ sdl_window_event_str()

std::string sdl_window_event_str ( Uint32  ev)
Here is the call graph for this function: