summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/delphi/m_history.inc6
-rw-r--r--include/m_history.h20
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__