summaryrefslogtreecommitdiff
path: root/include/m_history.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-06-10 16:29:02 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-06-10 16:29:02 +0300
commitc6519db3afea05236cd41a144110a8a74f3daa96 (patch)
treea30afee305efb54be06a4b7bf1fafdbc6f2ce9ce /include/m_history.h
parent2ad5c23a591fb5aa4c34f1148ee565cc015d1384 (diff)
fixes #2914 (unified empty history menu items)
Diffstat (limited to 'include/m_history.h')
-rw-r--r--include/m_history.h20
1 files changed, 15 insertions, 5 deletions
diff --git a/include/m_history.h b/include/m_history.h
index 39e78ad9e2..9a1597da79 100644
--- a/include/m_history.h
+++ b/include/m_history.h
@@ -25,10 +25,20 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#ifndef M_HISTORY_H__
#define M_HISTORY_H__ 1
-//show the History dialog box for a contact
-// wParam = (MCONTACT)hContact
-// lParam = 0
-//hContact can be NULL to show system messages
-#define MS_HISTORY_SHOWCONTACTHISTORY "History/ShowContactHistory"
+/////////////////////////////////////////////////////////////////////////////////////////
+// Shows the History dialog box for a contact
+// wParam = (MCONTACT)hContact
+// lParam = 0 (unused)
+// hContact can be NULL to show system messages
+
+#define MS_HISTORY_SHOWCONTACTHISTORY "History/ShowContactHistory"
+
+/////////////////////////////////////////////////////////////////////////////////////////
+// Empties contact's history
+// wParam = (MCONTACT)hContact
+// lParam = 0 (unused)
+// hContact can be NULL to wipe system history
+
+#define MS_HISTORY_EMPTY "History/EmptyHistory"
#endif // M_HISTORY_H__