diff options
author | wishmaster51@gmail.com <wishmaster51@gmail.com@c086bb3d-8645-0410-b8da-73a8550f86e7> | 2012-05-11 19:07:02 +0000 |
---|---|---|
committer | wishmaster51@gmail.com <wishmaster51@gmail.com@c086bb3d-8645-0410-b8da-73a8550f86e7> | 2012-05-11 19:07:02 +0000 |
commit | 204ac9f4649859b583dffc2588abbd0a736656fd (patch) | |
tree | cabb9ba88658b1a22538b5b62bf6fb1e9244dede /Plugins/avatarhistory/popup.cpp | |
parent | d99bb5efdfe347e690012bdbb4ff382271508994 (diff) |
-Show contact display name in save dialog
-Added hidden debug setting:
Add BYTE "Debug" in "AvatarHistory" module to show debug popups.
ATTENTION: This is only recommended for advanced users to find problems,
in normal usage they tend to become annoying
git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@251 c086bb3d-8645-0410-b8da-73a8550f86e7
Diffstat (limited to 'Plugins/avatarhistory/popup.cpp')
-rw-r--r-- | Plugins/avatarhistory/popup.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Plugins/avatarhistory/popup.cpp b/Plugins/avatarhistory/popup.cpp index a1319fe..dc03ee7 100644 --- a/Plugins/avatarhistory/popup.cpp +++ b/Plugins/avatarhistory/popup.cpp @@ -76,6 +76,14 @@ void ShowPopup(HANDLE hContact, const TCHAR *title, const TCHAR *description) ShowPopupEx(hContact, title, description, hContact, POPUP_TYPE_NORMAL, &opts);
}
+void ShowDebugPopup(HANDLE hContact, const TCHAR *title, const TCHAR *description)
+{
+ if(DBGetContactSettingByte(NULL,MODULE_NAME,"Debug",0))
+ {
+ ShowPopup(hContact,title,description);
+ }
+}
+
typedef struct
{
void* plugin_data;
|