summaryrefslogtreecommitdiff
path: root/plugins/ExternalAPI/delphi/m_splash.inc
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ExternalAPI/delphi/m_splash.inc')
-rw-r--r--plugins/ExternalAPI/delphi/m_splash.inc11
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/ExternalAPI/delphi/m_splash.inc b/plugins/ExternalAPI/delphi/m_splash.inc
new file mode 100644
index 0000000000..0ff1dde6f6
--- /dev/null
+++ b/plugins/ExternalAPI/delphi/m_splash.inc
@@ -0,0 +1,11 @@
+{$IFNDEF M_SPLASH}
+{$DEFINE M_SPLASH}
+
+// Shows splash image
+// wParam = (char *) image filename, either relative to Miranda dir or absolute
+// lParam = (int) time to display in milliseconds, 0 - infinite (hangs on screen until clicked)
+// returns: 1 if success and 0 if failed
+const
+ MS_SHOWSPLASH:PAnsiChar = 'SplashScreen/Show';
+
+{$ENDIF}