diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-10-09 05:20:49 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-10-09 05:20:49 +0000 |
commit | faf1e494a31b70203aa67d34602f5256eabe0336 (patch) | |
tree | b222ebe08c9173c1ba2811bcad4f47369d0e4f38 /include/delphi/reserve/m_yapp.inc | |
parent | 302209a17a9f5342a377904cda699fd3833bbe9a (diff) |
Test commit:
delphi headers structure as c headers structure
git-svn-id: http://svn.miranda-ng.org/main/trunk@1829 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/delphi/reserve/m_yapp.inc')
-rw-r--r-- | include/delphi/reserve/m_yapp.inc | 88 |
1 files changed, 0 insertions, 88 deletions
diff --git a/include/delphi/reserve/m_yapp.inc b/include/delphi/reserve/m_yapp.inc deleted file mode 100644 index 772c5cca81..0000000000 --- a/include/delphi/reserve/m_yapp.inc +++ /dev/null @@ -1,88 +0,0 @@ -{$IFNDEF M_YAPP}
-{$DEFINE M_YAPP}
-
-////////////////////////////////////////////////
-// YAPP API
-///////////////////////////////////////////////
-
-type
- TPopupData = record
- cbSize :int;
- flags :int; // OR of PDF_* flags below
- hContact :HANDLE;
- hIcon :HICON;
- szTitle :TChar;
- szText :TChar;
- colorBack :COLORREF; // if colorBack and colorText are equal, defaults will be used
- colorText :COLORREF;
- windowProc:WNDPROC; // optional custom window procedure
- timeout :int; // -1 == infinite, 0 == default, otherwise timeout in seconds
- opaque :pointer;
- end;
-
-const
- PDF_UNICODE = $0001;
-
-// windowProc messages
- PM_INIT = WM_USER+$0202; // message sent to your windowProc after the window has been initialized
- PM_DIENOTIFY = WM_USER+$0200; // message sent to your windowProc just before the window is destroyed (can be used e.g. to free your opaque data)
- PM_DESTROY = WM_USER+$0201; // send to the popup hWnd (use PostMessage generally, or SendMessage inside your windowProc) to kill it
-
-// Show a popup
-//wParam = &PopupData
-//lParam = 0
-// returns -1 if popups disabled
- MS_YAPP_SHOWPOPUP = 'YAPP/ShowPopup';
-
-// get hContact from PopupData
-// wParam = hWnd
-// lParam = 0
-// return hContact
- MS_YAPP_GETCONTACT = 'YAPP/GetContact';
-
-// get opaque from PopupData
-// wParam = hWnd
-// lParam = 0
-// returns opaque
- MS_YAPP_GETOPAQUE = 'YAPP/GetOpaque';
-
-//------------- Class API ----------------//
-
-type
- TPopupClass = record
- cbSize :int;
- flags :int;
- pszName :PAnsiChar;
- szDescription:TChar;
- hIcon :HICON;
- colorBack :COLORREF;
- colorText :COLORREF;
- windowProc :WNDPROC;
- timeout :int;
- end;
-
-const
- PCF_UNICODE = $0001;
-
-// wParam = 0
-// lParam = (POPUPCLASS *)&pc
- MS_YAPP_REGISTERCLASS = 'YAPP/RegisterClass'; // old
- MS_POPUP_REGISTERCLASS = 'PopUp/RegisterClass';
-
-type
- TPopupClassInstance = record
- cbSize :int;
- pszClassName:PAnsiChar;
- szTitle :TChar;
- szText :TChar;
- opaque :pointer;
- hContact :HANDLE;
- end;
-
-const
-// wParam = 0
-// lParam = (POPUPDATACLASS *)&pdc
- MS_YAPP_CLASSINSTANCE = 'YAPP/ClassInstance'; // old
- MS_POPUP_ADDPOPUPCLASS = 'PopUp/AddPopupClass';
-
-{$ENDIF}
|