Method | Description | |
---|---|---|
MPProcess ( ) : void |
Process() gets called when a dialog is presented. It contains the message loop
|
|
MadVRMPProcess ( ) : void |
Process() gets called for madVR. It contains the message loop
|
|
MediaPortalApp ( ) : DirectShowLib |
|
|
OnStartExternal ( Process proc, bool waitForExit ) : void |
|
|
OnStopExternal ( Process proc, bool waitForExit ) : void |
|
|
RenderFrame ( float timePassed, GUILayers layers ) : void | ||
RenderFrame ( float timePassed, GUILayers layers, bool &uiVisible ) : void | ||
SetDWORDRegKey ( RegistryKey hklm, string key, string value, |
|
|
SetREGSZRegKey ( RegistryKey hklm, string key, string name, string value ) : void |
|
|
ShowStartupWarningDialogs ( ) : void |
Method | Description | |
---|---|---|
CheckSkinVersion ( ) : void |
|
|
FrameMove ( ) : void |
|
|
GetCleanDisplayName ( Screen screen ) : string |
XP returns random garbage in a name of a display in .NET
|
|
GetDate ( ) : string |
Get the current date from the system and localize it based on the user preferences.
|
|
GetDay ( ) : string |
|
|
GetDayOfWeek ( ) : string |
|
|
GetMonth ( ) : string | ||
GetMonthOfYear ( ) : string |
|
|
GetShortDayOfWeek ( ) : string |
|
|
GetShortMonthOfYear ( ) : string |
|
|
GetShortYear ( ) : string |
|
|
GetTime ( ) : string |
Get the current time from the system. Set the format in the Home plugin's config
|
|
GetYear ( ) : string |
|
|
InitializeDeviceObjects ( ) : void |
|
|
KeyDownEvent ( KeyEventArgs e ) : void |
This is coming indirectly from System.Windows.Forms.Control.KeyDown event. It's notably needed to be able to handle direction arrows and escape.
|
|
KeyPressEvent ( KeyPressEventArgs e ) : void |
This is coming indirectly from System.Windows.Forms.Control.KeyPress event. I believe it does not fire for some keys such as direction arrows and escape.
|
|
MouseClickEvent ( MouseEventArgs e ) : void |
|
|
MouseDoubleClickEvent ( MouseEventArgs e ) : void |
|
|
MouseMoveEvent ( MouseEventArgs e ) : void |
|
|
NotifyIconRestore ( Object sender, EventArgs e ) : void |
|
|
OnDeviceLost ( object sender, EventArgs e ) : void |
|
|
OnExit ( ) : void |
OnExit() Gets called just b4 application stops
|
|
OnMouseWheel ( MouseEventArgs e ) : void |
|
|
OnProcess ( ) : void |
|
|
OnStartup ( ) : void |
OnStartup() gets called just before the application starts
|
|
Render ( float timePassed ) : void |
|
|
WndProc ( Message &msg ) : void |
Message Pump
|
Method | Description | |
---|---|---|
AddExceptionHandler ( ) : void | ||
Application_ApplicationExit ( object sender, EventArgs e ) : void | ||
Application_ThreadException ( object sender, System e ) : void | ||
CheckDelayedResume ( ) : bool | ||
CheckSingleClick ( MouseEventArgs e ) : void |
|
|
CreateStateBlock ( ) : void |
|
|
CurrentDomain_UnhandledException ( object sender, UnhandledExceptionEventArgs e ) : void | ||
Currentmodulefullscreen ( ) : bool |
|
|
DisableProcessWindowsGhosting ( ) : void | ||
DisableSplashScreen ( ) : void |
Disables the Splash Screen
|
|
DisposeDBs ( ) : void |
|
|
DoStartupJobs ( ) : void |
|
|
EnumDisplayDevices ( string lpDevice, int iDevNum, [ lpDisplayDevice, int dwFlags ) : bool | ||
ExitMP ( ) : void |
|
|
ForceMPFocus ( ) : void |
Focus Mediaportal is visible.
|
|
GCD ( long a, long b ) : long |
Find the Greatest Common Divisor
|
|
IsSuspendOrHibernationAllowed ( ) : bool |
|
|
LegacyKeyPressEvent ( KeyPressEventArgs e ) : void |
Major mess goes here.
|
|
LoadLanguageString ( ) : void |
Load string_xx.xml based on config
|
|
Main ( string args ) : void | ||
MediaPortalAppActivated ( object sender, EventArgs e ) : void |
|
|
MediaPortalAppDeactivate ( object sender, EventArgs e ) : void |
|
|
OnAction ( MediaPortal.GUI.Library.Action action ) : void |
|
|
OnActivate ( Message &msg ) : void |
|
|
OnDeviceChange ( Message &msg ) : void |
|
|
OnDisplayChange ( Message &msg ) : void |
|
|
OnGetMinMaxInfo ( Message &msg ) : void |
|
|
OnMessage ( GUIMessage message ) : void |
|
|
OnMoving ( Message &msg ) : void |
|
|
OnPowerBroadcast ( Message &msg ) : bool |
Process WM_POWERBROADCAST messages
|
|
OnRemoteCommand ( object command ) : void |
|
|
OnResumeAutomatic ( ) : void |
This event is delivered every time the system resumes and does not indicate whether a user is present
|
|
OnResumeSuspend ( ) : void |
This event is sent with the PBT_APMRESUMEAUTOMATIC event if the system has resumed operation due to user activity.
|
|
OnSize ( Message &msg ) : void |
|
|
OnSizing ( Message &msg ) : void |
|
|
OnSuspend ( ) : void |
|
|
OnSysCommand ( Message &msg ) : bool |
|
|
OnThreadException ( object sender, ThreadExceptionEventArgs e ) : void |
|
|
OnUnhandledException ( object sender, UnhandledExceptionEventArgs e ) : void |
|
|
PathIsNetworkPath ( string path ) : bool | ||
PostMessage ( IntPtr hWnd, uint Msg, IntPtr wParam, IntPtr lParam ) : bool | ||
PrepareSuspend ( ) : void |
Prepare application for suspend, this is done before power events get passed to plugins
|
|
PromptUserBeforeChangingPowermode ( MediaPortal.GUI.Library.Action action ) : bool |
|
|
ReOpenDBs ( ) : void |
|
|
RegisterDeviceNotification ( IntPtr hRecipient, IntPtr notificationFilter, uint flags ) : IntPtr | ||
RegisterForDeviceNotifications ( ) : void | ||
RegisterPowerSettingNotification ( IntPtr hRecipient, System.Guid &powerSettingGuid, |
||
RenderStats ( ) : void |
|
|
SaveLastActiveModule ( ) : void |
saves last active module.
|
|
ScaleCursorPosition ( Point location ) : Point |
|
|
SetProcessDPIAware ( ) : int | ||
SetProcessWorkingSetSize ( IntPtr handle, int minSize, int maxSize ) : bool | ||
SetThreadExecutionState ( EXECUTION_STATE esFlags ) : EXECUTION_STATE | ||
SystemParametersInfo ( int uAction, int uParam, bool &lpvParam, int fuWinIni ) : bool | ||
SystemParametersInfo ( int uAction, int uParam, int lpvParam, int fuWinIni ) : bool | ||
UnregisterDeviceNotification ( IntPtr hHandle ) : uint | ||
UnregisterForDeviceNotification ( ) : void |
|
|
UnregisterForPowerSettingNotitication ( ) : void |
|
|
UnregisterPowerSettingNotification ( IntPtr handle ) : bool | ||
UpdateSplashScreenMessage ( string aSplashLine ) : void |
Updates the splash screen to display the given string. This method checks whether the splash screen exists.
|
protected static GetCleanDisplayName ( Screen screen ) : string | ||
screen | Screen | |
return | string |
protected KeyDownEvent ( KeyEventArgs e ) : void | ||
e | KeyEventArgs | |
return | void |
protected KeyPressEvent ( KeyPressEventArgs e ) : void | ||
e | KeyPressEventArgs | |
return | void |
protected MouseClickEvent ( MouseEventArgs e ) : void | ||
e | MouseEventArgs | |
return | void |
protected MouseDoubleClickEvent ( MouseEventArgs e ) : void | ||
e | MouseEventArgs | |
return | void |
protected MouseMoveEvent ( MouseEventArgs e ) : void | ||
e | MouseEventArgs | |
return | void |
protected NotifyIconRestore ( Object sender, EventArgs e ) : void | ||
sender | Object | |
e | EventArgs | |
return | void |
protected OnDeviceLost ( object sender, EventArgs e ) : void | ||
sender | object | |
e | EventArgs | |
return | void |
protected OnMouseWheel ( MouseEventArgs e ) : void | ||
e | MouseEventArgs | |
return | void |
public OnStartExternal ( Process proc, bool waitForExit ) : void | ||
proc | Process | |
waitForExit | bool | |
return | void |
public OnStopExternal ( Process proc, bool waitForExit ) : void | ||
proc | Process | |
waitForExit | bool | |
return | void |
public RenderFrame ( float timePassed, GUILayers layers ) : void | ||
timePassed | float | |
layers | GUILayers | |
return | void |
public RenderFrame ( float timePassed, GUILayers layers, bool &uiVisible ) : void | ||
timePassed | float | |
layers | GUILayers | |
uiVisible | bool | |
return | void |
public static SetDWORDRegKey ( RegistryKey hklm, string key, string value, |
||
hklm | RegistryKey | |
key | string | |
value | string | |
iValue | ||
return | void |
public static SetREGSZRegKey ( RegistryKey hklm, string key, string name, string value ) : void | ||
hklm | RegistryKey | |
key | string | |
name | string | |
value | string | |
return | void |
public static ShowStartupWarningDialogs ( ) : void | ||
return | void |