C# Class FSClient.Utils

ファイルを表示 Open project: mitchcapper/FSClient

Public Methods

Method Description
DebugEventDump ( FSEvent evt ) : void
DebugWrite ( String str ) : void
GetUserDataPath ( ) : string
PluginLog ( String source, String str ) : void
SetForegroundWindow ( Window to_foreground ) : void
add_xml_param ( XmlNode node, String name, String value ) : void
api_exec ( String cmd, String args ) : string
bgapi_exec ( String cmd, String args ) : void
plugins_dir ( ) : string

Private Methods

Method Description
AttachThreadInput ( uint idAttach, uint idAttachTo, bool fAttach ) : bool
GetCurrentThreadId ( ) : uint
GetForegroundWindow ( ) : IntPtr
GetProcessId ( IntPtr hwnd, uint &thread_id ) : uint
GetWindowThreadProcessId ( IntPtr hWnd, uint &lpdwProcessId ) : uint
SetForegroundWindow ( IntPtr hWnd ) : bool
ShowWindowAsync ( IntPtr hWnd, uint nCmdShow ) : bool
bgWorker_DoWork ( object sender, DoWorkEventArgs e ) : void
bgWorker_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
bg_watcher_Elapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void
bgapi_dequeue ( ) : void

Method Details

DebugEventDump() public static method

public static DebugEventDump ( FSEvent evt ) : void
evt FSEvent
return void

DebugWrite() public static method

public static DebugWrite ( String str ) : void
str String
return void

GetUserDataPath() public static method

public static GetUserDataPath ( ) : string
return string

PluginLog() public static method

public static PluginLog ( String source, String str ) : void
source String
str String
return void

SetForegroundWindow() public static method

public static SetForegroundWindow ( Window to_foreground ) : void
to_foreground System.Windows.Window
return void

add_xml_param() public static method

public static add_xml_param ( XmlNode node, String name, String value ) : void
node System.Xml.XmlNode
name String
value String
return void

api_exec() public static method

public static api_exec ( String cmd, String args ) : string
cmd String
args String
return string

bgapi_exec() public static method

public static bgapi_exec ( String cmd, String args ) : void
cmd String
args String
return void

plugins_dir() public static method

public static plugins_dir ( ) : string
return string