diff options
Diffstat (limited to 'plugins/ExternalAPI')
-rw-r--r-- | plugins/ExternalAPI/m_account.h | 8 | ||||
-rw-r--r-- | plugins/ExternalAPI/m_popup2.h | 58 | ||||
-rw-r--r-- | plugins/ExternalAPI/m_weather.h | 2 |
3 files changed, 34 insertions, 34 deletions
diff --git a/plugins/ExternalAPI/m_account.h b/plugins/ExternalAPI/m_account.h index ec28f02438..d8441578eb 100644 --- a/plugins/ExternalAPI/m_account.h +++ b/plugins/ExternalAPI/m_account.h @@ -44,7 +44,7 @@ enum typedef struct CNotification
{
//#define YAMN_NOTIFICATIONVERSION is not implemented, use YAMN_ACCOUNTVERSION instead
- CNotification(): PopUpB(0), PopUpT(0), PopUpTime(0), App(NULL), AppParam(NULL), Sound(NULL), TrayIcon1(NULL), TrayIcon2(NULL) {}
+ CNotification(): PopupB(0), PopupT(0), PopupTime(0), App(NULL), AppParam(NULL), Sound(NULL), TrayIcon1(NULL), TrayIcon2(NULL) {}
#define YAMN_ACC_SND 0x00000001 //Plays sound (1)
#define YAMN_ACC_MSG 0x00000002 //Shows dialog
@@ -61,9 +61,9 @@ typedef struct CNotification //(1) - usable only in newmail notification
DWORD Flags;
- COLORREF PopUpB;
- COLORREF PopUpT;
- DWORD PopUpTime;
+ COLORREF PopupB;
+ COLORREF PopupT;
+ DWORD PopupTime;
WCHAR *App;
WCHAR *AppParam;
diff --git a/plugins/ExternalAPI/m_popup2.h b/plugins/ExternalAPI/m_popup2.h index ceb9925a3c..3ddd798454 100644 --- a/plugins/ExternalAPI/m_popup2.h +++ b/plugins/ExternalAPI/m_popup2.h @@ -1,12 +1,12 @@ /*
===============================================================================
- PopUp plugin
-Plugin Name: PopUp
+ Popup plugin
+Plugin Name: Popup
Plugin authors: Luca Santarelli aka hrk (hrk@users.sourceforge.net)
Victor Pavlychko (nullbie@gmail.com)
===============================================================================
The purpose of this plugin is to give developers a common "platform/interface"
-to show PopUps. It is born from the source code of NewStatusNotify, another
+to show Popups. It is born from the source code of NewStatusNotify, another
plugin I've made.
Remember that users *must* have this plugin enabled, or they won't get any
@@ -154,14 +154,14 @@ typedef struct typedef LPPOPUPDATAW_V2 LPPOPUPDATAT_V2;
#endif
-/* PopUp/AddPopup
+/* Popup/AddPopup
Creates, adds and shows a popup, given a (valid) POPUPDATA structure pointer.
-wParam = (WPARAM)(*POPUPDATA)PopUpDataAddress
+wParam = (WPARAM)(*POPUPDATA)PopupDataAddress
lParam = 0
-Returns: > 0 on success, 0 if creation went bad, -1 if the PopUpData contained unacceptable values.
-NOTE: it returns -1 if the PopUpData was not valid, if there were already too many popups, if the module was disabled.
+Returns: > 0 on success, 0 if creation went bad, -1 if the PopupData contained unacceptable values.
+NOTE: it returns -1 if the PopupData was not valid, if there were already too many popups, if the module was disabled.
Otherwise, it can return anything else...
Popup Plus 2.0.4.0+
@@ -175,13 +175,13 @@ 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
-static INT_PTR __inline PUAddPopUpW(POPUPDATAW_V2* ppdp) {
+static INT_PTR __inline PUAddPopupW(POPUPDATAW_V2* ppdp) {
return CallService(MS_POPUP_ADDPOPUPW, (WPARAM)ppdp,0);
}
-#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);
+#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);
}
/* UM_CHANGEPOPUP
@@ -225,9 +225,9 @@ typedef struct } POPUPACTIONID, *LPPOPUPACTIONID;
#define UM_POPUPMODIFYACTIONICON (WM_USER + 0x0205)
-static int __inline PUModifyActionIcon(HWND hWndPopUp, WPARAM wParam, LPARAM lParam, HICON hIcon) {
+static int __inline PUModifyActionIcon(HWND hWndPopup, WPARAM wParam, LPARAM lParam, HICON hIcon) {
POPUPACTIONID actionId = { wParam, lParam };
- return (int)SendMessage(hWndPopUp, UM_POPUPMODIFYACTIONICON, (WPARAM)&actionId, (LPARAM)hIcon);
+ return (int)SendMessage(hWndPopup, UM_POPUPMODIFYACTIONICON, (WPARAM)&actionId, (LPARAM)hIcon);
}
/* UM_POPUPSHOW
@@ -238,7 +238,7 @@ lParam = y */
#define UM_POPUPSHOW (WM_USER + 0x0206)
-/* PopUp/RegisterActions
+/* Popup/RegisterActions
Registers your action in popup action list
wParam = (WPARAM)(LPPOPUPACTION)actions
@@ -246,13 +246,13 @@ lParam = (LPARAM)actionCount Returns: 0 if the popup was shown, -1 in case of failure.
*/
-#define MS_POPUP_REGISTERACTIONS "PopUp/RegisterActions"
+#define MS_POPUP_REGISTERACTIONS "Popup/RegisterActions"
static int __inline PURegisterActions(LPPOPUPACTION actions, int count) {
return (int)CallService(MS_POPUP_REGISTERACTIONS, (WPARAM)actions,(LPARAM)count);
}
-/* PopUp/RegisterNotification
+/* Popup/RegisterNotification
Registers your action in popup action list
wParam = (WPARAM)(LPPOPUPNOTIFICATION)info
@@ -260,7 +260,7 @@ lParam = 0 Returns: handle of registered notification or sero on failure
*/
-#define MS_POPUP_REGISTERNOTIFICATION "PopUp/RegisterNotification"
+#define MS_POPUP_REGISTERNOTIFICATION "Popup/RegisterNotification"
#define PNAF_CALLBACK 0x01
@@ -314,7 +314,7 @@ static HANDLE __inline PURegisterNotification(LPPOPUPNOTIFICATION notification) return (HANDLE)CallService(MS_POPUP_REGISTERNOTIFICATION, (WPARAM)notification, 0);
}
-/* PopUp/UnhookEventAsync
+/* 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
thread and notify you when everything has finished.
@@ -335,7 +335,7 @@ lParam = (LPARAM)(HANDLE)hEvent Returns: 0 if everything gone ok. -1 if service was not found (and unsafe unhook was performed)
*/
-#define MS_POPUP_UNHOOKEVENTASYNC "PopUp/UnhookEventAsync"
+#define MS_POPUP_UNHOOKEVENTASYNC "Popup/UnhookEventAsync"
/* UM_POPUPUNHOOKCOMPLETE
Modify Popup Action Icon
@@ -355,30 +355,30 @@ static int __inline PUUnhookEventAsync(HWND hwndPopup, HANDLE hEvent) { return 0;
}
-/* PopUp/GetStatus
+/* Popup/GetStatus
Returns 1 when popups are showen and 0 when not
wParam = 0
lParam = 0
*/
-#define MS_POPUP_GETSTATUS "PopUp/GetStatus"
+#define MS_POPUP_GETSTATUS "Popup/GetStatus"
#ifdef __cplusplus
-/* PopUp/RegisterVfx
+/* Popup/RegisterVfx
Register new animation (fade in/out) effect
wParam = 0
lParam = (LPARAM)(char *)vfx_name
*/
-#define MS_POPUP_REGISTERVFX "PopUp/RegisterVfx"
+#define MS_POPUP_REGISTERVFX "Popup/RegisterVfx"
-/* PopUp/Vfx/<vfx_name>
+/* Popup/Vfx/<vfx_name>
Define this service to create vfx instance
wParam = 0
lParam = 0
return = (int)(IPopupPlusEffect *)vfx
*/
-#define MS_POPUP_CREATEVFX "PopUp/Vfx/"
+#define MS_POPUP_CREATEVFX "Popup/Vfx/"
class IPopupPlusEffect
{
@@ -393,9 +393,9 @@ public: #endif // __cplusplus
-/* PopUp/ShowMessage
+/* Popup/ShowMessage
This is mainly for developers.
-Shows a warning message in a PopUp. It's useful if you need a "MessageBox" like function, but you don't want a modal
+Shows a warning message in a Popup. It's useful if you need a "MessageBox" like function, but you don't want a modal
window (which will interfere with a DialogProcedure. MessageBox steals focus and control, this one not.
wParam = (char *)lpzMessage
@@ -409,8 +409,8 @@ Returns: 0 if the popup was shown, -1 in case of failure. additional SM_ flags */
#define SM_ERROR 0x03 //Cross icon.
#ifndef MS_POPUP_SHOWMESSAGE
-#define MS_POPUP_SHOWMESSAGE "PopUp/ShowMessage"
-#define MS_POPUP_SHOWMESSAGEW "PopUp/ShowMessageW"
+#define MS_POPUP_SHOWMESSAGE "Popup/ShowMessage"
+#define MS_POPUP_SHOWMESSAGEW "Popup/ShowMessageW"
#endif
#endif // __m_popup2_h__
diff --git a/plugins/ExternalAPI/m_weather.h b/plugins/ExternalAPI/m_weather.h index 492fbf4521..f76ab88db1 100644 --- a/plugins/ExternalAPI/m_weather.h +++ b/plugins/ExternalAPI/m_weather.h @@ -143,7 +143,7 @@ Condition_Changed is true; otherwise is false. #define ME_WEATHER_UPDATED "Miranda/Weather/Updated"
/*
-Shows a warning message for Weather PopUp.
+Shows a warning message for Weather Popup.
wParam = (char*) lpzMessage
lParam = Type
Type can either be SM_WARNING, SM_NOTIFY, or SM_WEATHERALERT
|