Browse Source

engine: common: removed unused function Sys_SetClipboardData

pull/2/head
SNMetamorph 3 years ago committed by a1batross
parent
commit
d1a5c33bf1
  1. 5
      engine/common/dedicated.c
  2. 12
      engine/common/system.c
  3. 1
      engine/common/system.h

5
engine/common/dedicated.c

@ -306,11 +306,6 @@ void SCR_CheckStartupVids( void ) @@ -306,11 +306,6 @@ void SCR_CheckStartupVids( void )
}
void Sys_SetClipboardData( const char *text, size_t size )
{
}
void CL_StopPlayback( void )
{

12
engine/common/system.c

@ -81,18 +81,6 @@ char *Sys_GetClipboardData( void ) @@ -81,18 +81,6 @@ char *Sys_GetClipboardData( void )
return data;
}
/*
================
Sys_SetClipboardData
write screenshot into clipboard
================
*/
void Sys_SetClipboardData( const char *buffer, size_t size )
{
Platform_SetClipboardText( buffer );
}
#endif // XASH_DEDICATED
/*

1
engine/common/system.h

@ -59,7 +59,6 @@ void Sys_ParseCommandLine( int argc, char **argv ); @@ -59,7 +59,6 @@ void Sys_ParseCommandLine( int argc, char **argv );
void Sys_MergeCommandLine( void );
void Sys_SetupCrashHandler( void );
void Sys_RestoreCrashHandler( void );
void Sys_SetClipboardData( const char *buffer, size_t size );
#define Sys_GetParmFromCmdLine( parm, out ) _Sys_GetParmFromCmdLine( parm, out, sizeof( out ))
qboolean _Sys_GetParmFromCmdLine( const char *parm, char *out, size_t size );
qboolean Sys_GetIntFromCmdLine( const char *parm, int *out );

Loading…
Cancel
Save