mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2024-11-24 02:14:11 +08:00
[client] add deprecation/experimental warnings
This commit is contained in:
parent
73158a040a
commit
8af35bd42a
@ -7,10 +7,13 @@
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#include <freerdp/client/cmdline.h>
|
||||
|
||||
int main(int argc, const char *argv[])
|
||||
{
|
||||
const char *ctemp;
|
||||
|
||||
freerdp_client_warn_deprecated(argc, argv);
|
||||
for (int i = 0; i < argc; i++)
|
||||
{
|
||||
ctemp = argv[i];
|
||||
|
@ -1222,14 +1222,7 @@ int main(int argc, char* argv[])
|
||||
int status;
|
||||
RDP_CLIENT_ENTRY_POINTS clientEntryPoints = { 0 };
|
||||
|
||||
WLog_WARN(SDL_TAG, "[experimental] The SDL client is currently experimental!");
|
||||
WLog_WARN(SDL_TAG,
|
||||
" If problems occur please check https://github.com/FreeRDP/FreeRDP/issues for "
|
||||
"know issues or create a new one!");
|
||||
WLog_WARN(SDL_TAG,
|
||||
" Developers hang out in https://matrix.to/#/#FreeRDP:matrix.org?via=matrix.org "
|
||||
"- dont hesitate to ask some questions. (replies might take some time depending "
|
||||
"on your timezone)");
|
||||
freerdp_client_warn_experimental(argc, argv);
|
||||
|
||||
RdpClientEntry(&clientEntryPoints);
|
||||
sdlContext* sdl = freerdp_client_context_new(&clientEntryPoints);
|
||||
|
@ -679,6 +679,8 @@ int main(int argc, char* argv[])
|
||||
rdpSettings* settings;
|
||||
wlfContext* wlc;
|
||||
|
||||
freerdp_client_warn_deprecated(argc, argv);
|
||||
|
||||
RdpClientEntry(&clientEntryPoints);
|
||||
context = freerdp_client_context_new(&clientEntryPoints);
|
||||
if (!context)
|
||||
|
@ -95,6 +95,8 @@ INT WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
|
||||
goto out;
|
||||
}
|
||||
|
||||
freerdp_client_warn_deprecated(argc, argv);
|
||||
|
||||
settings = context->settings;
|
||||
wfc = (wfContext*)context;
|
||||
|
||||
|
@ -9,9 +9,11 @@
|
||||
*/
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#include <freerdp/client/cmdline.h>
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
freerdp_client_warn_deprecated(argc, argv);
|
||||
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
|
||||
int retVal = UIApplicationMain(argc, argv, nil, nil);
|
||||
[pool release];
|
||||
|
Loading…
Reference in New Issue
Block a user