summaryrefslogtreecommitdiff
path: root/include/delphi
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-21 19:09:56 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-21 19:09:56 +0000
commitba456be50d3b780e4accf075ba78d5badf282b05 (patch)
treea1e4a2df606b21f814306f7c0bfdef15d6de419b /include/delphi
parenta08db3aa08808c6adec9891d429f262126faca80 (diff)
MS_UTIL_OPENURL -> mir_core::Utils_OpenUrl
git-svn-id: http://svn.miranda-ng.org/main/trunk@14306 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/delphi')
-rw-r--r--include/delphi/m_utils.inc15
1 files changed, 5 insertions, 10 deletions
diff --git a/include/delphi/m_utils.inc b/include/delphi/m_utils.inc
index 205f22d9ff..f71dfedd65 100644
--- a/include/delphi/m_utils.inc
+++ b/include/delphi/m_utils.inc
@@ -64,24 +64,19 @@ type
ISOcode: array [0..2] of AnsiChar;
end;
-const
- OUF_NEWWINDOW = 1;
- OUF_UNICODE = 2;
{
- wParam : OUF_* flag
- lParam : Pointer to a null terminated string containing Url
Affect : Open a URL in the user's default web browser, see notes
- Returns: 0 on success, [non zero on failure]
Notes : bOpenInWindow should be zero to open the URL in the browoser window
the user last used, or nonzero to open in a new browser window,
if there's no browser running, it will be started to show the URL
- Version: v0.1.0.1+
}
- MS_UTILS_OPENURL:PAnsiChar = 'Utils/OpenURL';
+procedure Utils_OpenUrl(const url:PAnsiChar; bOpenInWindow:BYTE=1); stdcall;
+ external CoreDLL name 'Utils_OpenUrl';
+
+procedure Utils_OpenUrlW(const url:PWideChar; bOpenInWindow:BYTE=1); stdcall;
+ external CoreDLL name 'Utils_OpenUrlW';
{
- wParam : 0
- lParam : Pointer to an initalised TUTILRESIZEDIALOG structure
Affect : Resize a dialog by calling a custom routine to move each control, see notes
Returns: 0 on success, [non zero] on failure
Notes : Does not support DIALOGTEMPLATEEX dialogboxes, and will return