summaryrefslogtreecommitdiff
path: root/plugins/ExternalAPI
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-15 22:31:48 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-15 22:31:48 +0000
commit588a9b2b5ee9d87d4a8b640b63a2544675d93ded (patch)
treeb88b1ad9682ee1d9030e69a907c00fe539caf8a1 /plugins/ExternalAPI
parentd5d85efcecd6fa2f2efd84b369a642f47a511169 (diff)
POPUPDATAEX_V2: ansi version removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@4059 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ExternalAPI')
-rw-r--r--plugins/ExternalAPI/m_popup2.h41
1 files changed, 0 insertions, 41 deletions
diff --git a/plugins/ExternalAPI/m_popup2.h b/plugins/ExternalAPI/m_popup2.h
index 188fa99f76..ceb9925a3c 100644
--- a/plugins/ExternalAPI/m_popup2.h
+++ b/plugins/ExternalAPI/m_popup2.h
@@ -120,35 +120,6 @@ typedef struct
#define MS_POPUP_CHANGEPOPUP2 "Popup/ChangePopup2"
// deprecatet !!! (only for compatibility) use new POPUPDATA2 struct for extended popup
-// Extended popup data V2 (ansi version)
-typedef struct
-{
- HANDLE lchContact;
- HICON lchIcon;
- union
- {
- char lptzContactName[MAX_CONTACTNAME];
- char lpzContactName[MAX_CONTACTNAME];
- };
- union
- {
- char lptzText[MAX_SECONDLINE];
- char lpzText[MAX_SECONDLINE];
- };
- COLORREF colorBack;
- COLORREF colorText;
- WNDPROC PluginWindowProc;
- void * PluginData;
- int iSeconds; // Custom delay time in seconds. -1 means "forever", 0 means "default time".
- // +2.1.0.3
- // you *MUST* pass APF_NEWDATA flag for services to take care of this data
- HANDLE hNotification; // Reserved. Must be NULL
- int actionCount; // Amount of passed actions
- LPPOPUPACTION lpActions; // Popup Actions
- int cbSize; // struct size for future
-} POPUPDATAEX_V2, *LPPOPUPDATAEX_V2;
-
-// deprecatet !!! (only for compatibility) use new POPUPDATA2 struct for extended popup
// Unicode version of POPUPDATAEX_V2
typedef struct
{
@@ -181,9 +152,6 @@ typedef struct
#if defined(_UNICODE) || defined(UNICODE)
typedef POPUPDATAW_V2 POPUPDATAT_V2;
typedef LPPOPUPDATAW_V2 LPPOPUPDATAT_V2;
-#else
- typedef POPUPDATAEX_V2 POPUPDATAT_V2;
- typedef LPPOPUPDATAEX_V2 LPPOPUPDATAT_V2;
#endif
/* PopUp/AddPopup
@@ -207,19 +175,10 @@ additional APF_ flags */
#define APF_NO_POPUP 0x08 //do not show popup. this is useful if you want popup yo be stored in history only
#define APF_NEWDATA 0x10 //deprecatet!! only for use with old POPUPDATAEX_V2/POPUPDATAW_V2 structs
-//overload function for POPUPDATAEX_V2/POPUPDATAW_V2
-static INT_PTR __inline PUAddPopUpEx(POPUPDATAEX_V2* ppdp) {
- return CallService(MS_POPUP_ADDPOPUP, (WPARAM)ppdp,0);
-}
-
static INT_PTR __inline PUAddPopUpW(POPUPDATAW_V2* ppdp) {
return CallService(MS_POPUP_ADDPOPUPW, (WPARAM)ppdp,0);
}
-static int __inline PUChange(HWND hWndPopUp, POPUPDATAEX_V2 *newData) {
- return (int)CallService(MS_POPUP_CHANGE, (WPARAM)hWndPopUp, (LPARAM)newData);
-}
-
#define MS_POPUP_CHANGEW "PopUp/ChangeW"
static int __inline PUChangeW(HWND hWndPopUp, POPUPDATAW_V2 *newData) {
return (int)CallService(MS_POPUP_CHANGEW, (WPARAM)hWndPopUp, (LPARAM)newData);