From 24415c15d859a94a34a2b575af74336a9aff5f45 Mon Sep 17 00:00:00 2001
From: George Hazan <george.hazan@gmail.com>
Date: Sat, 27 Jun 2015 21:50:25 +0000
Subject: - clist menus went to functions - m_clist.h cleaning & reordering

git-svn-id: http://svn.miranda-ng.org/main/trunk@14422 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
---
 include/delphi/m_clist.inc | 29 +++--------------------------
 1 file changed, 3 insertions(+), 26 deletions(-)

(limited to 'include/delphi')

diff --git a/include/delphi/m_clist.inc b/include/delphi/m_clist.inc
index 0183450f3d..251b5d68f6 100644
--- a/include/delphi/m_clist.inc
+++ b/include/delphi/m_clist.inc
@@ -87,6 +87,9 @@ function _AddProtoMenuItem(mi:PCLISTMENUITEM; pszProto:PAnsiChar; hlang:integer)
 function _AddStatusMenuItem(mi:PCLISTMENUITEM; pszProto:PAnsiChar; hlang:integer) : HGENMENU; stdcall;
              external AppDll name 'Menu_AddStatusMenuItem';
 
+function Menu_BuildContactMenu(hContact:TMCONTACT) : HMENU; stdcall;
+             external AppDll name 'Menu_BuildContactMenu';
+
 {
   Affect : Modify an existing menu item, see notes
   Returns: 0 on success, [non zero] on failure
@@ -261,16 +264,6 @@ const
   }
   MS_CLIST_MENUDRAWITEM:PAnsiChar = 'CList/MenuDrawItem';
 
-  {
-    wParam : TMCONTACT
-    lParam : 0
-    Affect : Built the context menu for a specific contact
-    Returns: A HMENU handle identifying the menu, this should be DestroyMenu()ed
-             when done.
-    Version: v0.1.1.0+
-  }
-  MS_CLIST_MENUBUILDCONTACT:PAnsiChar = 'CList/MenuBuildContact';
-
   {
     wParam : 0
     lParam : 0
@@ -303,22 +296,6 @@ const
 
 //******************************* CLUI only *********************************
 
-  {
-    wParam : 0
-    lParam : 0
-    Affect : Get the handle to Miranda's main menu
-    Version: v0.1.1.0+
-  }
-  MS_CLIST_MENUGETMAIN:PAnsiChar = 'CList/MenuGetMain';
-
-  {
-    wParam : 0
-    lParam : 0
-    Affect : Get a handle to Miranda's status menu
-    Version: v0.1.1.0+
-  }
-  MS_CLIST_MENUGETSTATUS:PAnsiChar = 'CList/MenuGetStatus';
-
   CLISTMENUIDMIN = $4000; // reserved range for clist menu ids
   CLISTMENUIDMAX = $7FFF;
   {
-- 
cgit v1.2.3