diff options
| author | George Hazan <ghazan@miranda.im> | 2021-06-10 16:29:02 +0300 |
|---|---|---|
| committer | George Hazan <ghazan@miranda.im> | 2021-06-10 16:29:02 +0300 |
| commit | c6519db3afea05236cd41a144110a8a74f3daa96 (patch) | |
| tree | a30afee305efb54be06a4b7bf1fafdbc6f2ce9ce /include | |
| parent | 2ad5c23a591fb5aa4c34f1148ee565cc015d1384 (diff) | |
fixes #2914 (unified empty history menu items)
Diffstat (limited to 'include')
| -rw-r--r-- | include/delphi/m_history.inc | 6 | ||||
| -rw-r--r-- | include/m_history.h | 20 |
2 files changed, 21 insertions, 5 deletions
diff --git a/include/delphi/m_history.inc b/include/delphi/m_history.inc index 8900c12791..bba32c8c9f 100644 --- a/include/delphi/m_history.inc +++ b/include/delphi/m_history.inc @@ -32,4 +32,10 @@ const }
MS_HISTORY_SHOWCONTACTHISTORY:PAnsiChar = 'History/ShowContactHistory';
+ {
+ wParam : TMCONTACT
+ lParam : 0
+ }
+ MS_HISTORY_EMPTY:PAnsiChar = 'History/Empty';
+
{$ENDIF}
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__
|
