summaryrefslogtreecommitdiff
path: root/include/m_popup.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-11-05 15:27:21 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-11-05 15:27:26 +0300
commit63ed39f2286560d410b97b6b6ad75e9ed68cd30e (patch)
treeb46a607dde8407e3cbb4356e80c89832e33127d6 /include/m_popup.h
parentd933dad982eaee4f82e9d31dade1beaf0d3cf50f (diff)
Popup+ specific functionality localized inside Popup+
Diffstat (limited to 'include/m_popup.h')
-rw-r--r--include/m_popup.h58
1 files changed, 0 insertions, 58 deletions
diff --git a/include/m_popup.h b/include/m_popup.h
index 039b05e9fe..48c264ed56 100644
--- a/include/m_popup.h
+++ b/include/m_popup.h
@@ -243,64 +243,6 @@ __forceinline int PUModifyActionIcon(HWND hWndPopup, WPARAM wParam, LPARAM lPara
EXTERN_C MIR_APP_DLL(int) PURegisterActions(POPUPACTION *actions, int count);
-// Popup/RegisterNotification
-// Registers your action in popup action list
-// wParam = (WPARAM)(LPPOPUPNOTIFICATION)info
-// lParam = 0
-// Returns: handle of registered notification or sero on failure
-
-#define PNAF_CALLBACK 0x01
-
-#define POPUP_ACTION_NOTHING LPGEN("Do nothing")
-#define POPUP_ACTION_DISMISS LPGEN("Dismiss popup")
-
-struct POPUPNOTIFYACTION
-{
- char lpzTitle[64];
- uint32_t dwFlags;
- union
- {
- struct
- {
- char lpzLModule[MAXMODULELABELLENGTH];
- char lpzLSetting[MAXMODULELABELLENGTH];
- DBVARIANT dbvLData;
- char lpzRModule[MAXMODULELABELLENGTH];
- char lpzRSetting[MAXMODULELABELLENGTH];
- DBVARIANT dbvRData;
- };
- struct
- {
- uint32_t dwCookie;
- void(*pfnCallback)(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam, uint32_t cookie);
- };
- };
-};
-
-#define PNF_CONTACT 0x01
-
-struct POPUPNOTIFICATION
-{
- int cbSize;
- uint32_t dwFlags; // set of PNF_* flags
- char lpzGroup[MAXMODULELABELLENGTH];
- char lpzName[MAXMODULELABELLENGTH];
- HANDLE lchIcoLib; // gotten from icolib
- COLORREF colorBack; // this will be registered in fontservice
- COLORREF colorText; // this will be registered in fontservice
- int iSeconds; // default timeout
- int actionCount; // for unified action comboboxes
- POPUPNOTIFYACTION *lpActions;
- char *lpzLAction;
- char *lpzRAction;
- char *pszReserved1; // reserved for future use
- #ifdef _WINDOWS
- DLGPROC pfnReserved2; // reserved for future use
- #endif
-};
-
-EXTERN_C MIR_APP_DLL(HANDLE) PURegisterNotification(POPUPNOTIFICATION *notification);
-
/* Popup/UnhookEventAsync
Using of "UnhookEvent" inside PluginWindowProc in conjunction with HookEventMessage
may cause deadlocks. Use this service instead. It will queue event unhook into main