FreeRDP
Utils.m File Reference
#import "Utils.h"
#import "OrderedDictionary.h"
#import "TSXAdditions.h"
#import <freerdp/input.h>
#import <freerdp/version.h>
#import "config.h"
#include <sys/types.h>
#include <sys/sysctl.h>
#include <sys/socket.h>
#include <ifaddrs.h>
#include <net/if_dl.h>
#import "Bookmark.h"

Functions

BOOL ScanHostNameAndPort (NSString *address, NSString **host, unsigned short *port)
 
NSString * LocalizedFitScreen ()
 
NSString * LocalizedCustom ()
 
BOOL ScanScreenResolution (NSString *description, int *width, int *height, TSXScreenOptions *type)
 
NSString * ScreenResolutionDescription (TSXScreenOptions type, int width, int height)
 
NSDictionary * SelectionForColorSetting ()
 
NSArray * ResolutionModes ()
 
NSString * LocalizedAutomaticSecurity ()
 
NSString * ProtocolSecurityDescription (TSXProtocolSecurityOptions type)
 
BOOL ScanProtocolSecurity (NSString *description, TSXProtocolSecurityOptions *type)
 
NSDictionary * SelectionForSecuritySetting ()
 
NSMutableArray * FilterBookmarks (NSArray *bookmarks, NSArray *filter_words)
 
NSMutableArray * FilterHistory (NSArray *history, NSString *filterStr)
 
NSString * TSXAppFullVersion ()
 
BOOL IsPad ()
 
BOOL IsPhone ()
 
void SetSwapMouseButtonsFlag (BOOL swapped)
 
void SetInvertScrollingFlag (BOOL invert)
 
int GetLeftMouseButtonClickEvent (BOOL down)
 
int GetRightMouseButtonClickEvent (BOOL down)
 
int GetMouseMoveEvent ()
 
int GetMouseWheelEvent (BOOL down)
 
CGFloat GetScrollGestureDelta ()
 
void WakeUpWWAN ()
 
NSString * TSXGetPrimaryMACAddress (NSString *sep)
 
BOOL TSXDeviceHasJailBreak ()
 
NSString * TSXGetPlatform ()
 

Variables

static BOOL g_swap_mouse_buttons = NO
 
static BOOL g_invert_scrolling = NO
 

Function Documentation

NSMutableArray* FilterBookmarks ( NSArray *  bookmarks,
NSArray *  filter_words 
)
NSMutableArray* FilterHistory ( NSArray *  history,
NSString *  filterStr 
)
int GetLeftMouseButtonClickEvent ( BOOL  down)
int GetMouseMoveEvent ( void  )
int GetMouseWheelEvent ( BOOL  down)
int GetRightMouseButtonClickEvent ( BOOL  down)
CGFloat GetScrollGestureDelta ( void  )

Here is the caller graph for this function:

BOOL IsPad ( void  )

Here is the caller graph for this function:

BOOL IsPhone ( void  )

Here is the caller graph for this function:

NSString* LocalizedAutomaticSecurity ( )

Here is the caller graph for this function:

NSString* LocalizedCustom ( )

Here is the caller graph for this function:

NSString* LocalizedFitScreen ( )

Here is the caller graph for this function:

NSString* ProtocolSecurityDescription ( TSXProtocolSecurityOptions  type)

Here is the call graph for this function:

NSArray* ResolutionModes ( void  )
BOOL ScanHostNameAndPort ( NSString *  address,
NSString **  host,
unsigned short *  port 
)
BOOL ScanProtocolSecurity ( NSString *  description,
TSXProtocolSecurityOptions type 
)

Here is the call graph for this function:

BOOL ScanScreenResolution ( NSString *  description,
int *  width,
int *  height,
TSXScreenOptions type 
)

Here is the call graph for this function:

Here is the caller graph for this function:

NSString* ScreenResolutionDescription ( TSXScreenOptions  type,
int  width,
int  height 
)

Here is the call graph for this function:

Here is the caller graph for this function:

NSDictionary* SelectionForColorSetting ( void  )

Here is the caller graph for this function:

NSDictionary* SelectionForSecuritySetting ( void  )
void SetInvertScrollingFlag ( BOOL  invert)
void SetSwapMouseButtonsFlag ( BOOL  swapped)
NSString* TSXAppFullVersion ( void  )
BOOL TSXDeviceHasJailBreak ( void  )
NSString* TSXGetPlatform ( void  )
NSString* TSXGetPrimaryMACAddress ( NSString *  sep)

Here is the call graph for this function:

void WakeUpWWAN ( void  )

Variable Documentation

BOOL g_invert_scrolling = NO
static
BOOL g_swap_mouse_buttons = NO
static