C# Class AvalonStudio.Platforms.Platform

Show file Open project: VitalElement/AvalonStudio

Public Methods

Method Description
AttachConsole ( int pid ) : bool
CompareFilePath ( this path, string other ) : int
FreeConsole ( ) : bool
Initialise ( ) : void
IsSamePathAs ( this path, string other ) : bool
NormalizePath ( this path ) : string
SendSignal ( int pid, Signum sig ) : int
SetConsoleCtrlHandler ( ConsoleCtrlDelegate handlerRoutine, bool add ) : bool
ToAvalonPath ( this path ) : string
ToPlatformPath ( this path ) : string

Private Methods

Method Description
FromSignum ( Signum value ) : int
FromSignum ( Signum value, int &rval ) : int
GenerateConsoleCtrlEvent ( CtrlTypes dwCtrlEvent, uint dwProcessGroupId ) : bool
SendCtrlC ( ) : int
TryFromSignum ( Signum value, int &rval ) : bool
Win32AttachConsole ( int dwProcessId ) : bool
Win32FreeConsole ( ) : bool
Win32SetConsoleCtrlHandler ( ConsoleCtrlDelegate handlerRoutine, bool add ) : bool
kill ( int pid, Signum sig ) : int
sys_kill ( int pid, int sig ) : int

Method Details

AttachConsole() public static method

public static AttachConsole ( int pid ) : bool
pid int
return bool

CompareFilePath() public static method

public static CompareFilePath ( this path, string other ) : int
path this
other string
return int

FreeConsole() public static method

public static FreeConsole ( ) : bool
return bool

Initialise() public static method

public static Initialise ( ) : void
return void

IsSamePathAs() public static method

public static IsSamePathAs ( this path, string other ) : bool
path this
other string
return bool

NormalizePath() public static method

public static NormalizePath ( this path ) : string
path this
return string

SendSignal() public static method

public static SendSignal ( int pid, Signum sig ) : int
pid int
sig Signum
return int

SetConsoleCtrlHandler() public static method

public static SetConsoleCtrlHandler ( ConsoleCtrlDelegate handlerRoutine, bool add ) : bool
handlerRoutine ConsoleCtrlDelegate
add bool
return bool

ToAvalonPath() public static method

public static ToAvalonPath ( this path ) : string
path this
return string

ToPlatformPath() public static method

public static ToPlatformPath ( this path ) : string
path this
return string