summaryrefslogtreecommitdiff
path: root/plugins/Utils
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-26 23:41:55 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-26 23:41:55 +0000
commit25221b7d2afb70f82eb3805330fd39a6f6708049 (patch)
tree6fdd3eb5c5642788e1f8286385b15535f9a7ec16 /plugins/Utils
parentef81e9edc10e2478f514e1fbfb0828ad1e7d8e49 (diff)
mk: removed all LIST_INTERFACE, MI_INTERFACE & UTF8_INTERFACE instances.
all related functions moved to mir_core. git-svn-id: http://svn.miranda-ng.org/main/trunk@644 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Utils')
-rw-r--r--plugins/Utils/mir_dblists.cpp14
-rw-r--r--plugins/Utils/mir_dblists.h18
2 files changed, 3 insertions, 29 deletions
diff --git a/plugins/Utils/mir_dblists.cpp b/plugins/Utils/mir_dblists.cpp
index a1711eda4b..e866589b24 100644
--- a/plugins/Utils/mir_dblists.cpp
+++ b/plugins/Utils/mir_dblists.cpp
@@ -14,7 +14,7 @@ Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this file; see the file license.txt. If
not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA.
+Boston, MA 02111-1307, USA.
*/
@@ -27,16 +27,6 @@ Boston, MA 02111-1307, USA.
#include <m_system.h>
-struct LIST_INTERFACE list_interface = {0};
-
-
-void init_list_interface()
-{
- list_interface.cbSize = sizeof(list_interface);
- CallService(MS_SYSTEM_GET_LI, 0, (LPARAM)&list_interface);
-}
-
-
void List_DestroyFreeContents( SortedList* p_list )
{
if ( p_list == NULL )
@@ -58,7 +48,7 @@ void List_DestroyFreeContents( SortedList* p_list )
}
-int List_Append( SortedList* p_list, void* p_value )
+int List_Append( SortedList* p_list, void* p_value )
{
return List_Insert( p_list, p_value, p_list->realCount );
}
diff --git a/plugins/Utils/mir_dblists.h b/plugins/Utils/mir_dblists.h
index 4d4552b49d..f9a5092327 100644
--- a/plugins/Utils/mir_dblists.h
+++ b/plugins/Utils/mir_dblists.h
@@ -14,7 +14,7 @@ Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this file; see the file license.txt. If
not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA.
+Boston, MA 02111-1307, USA.
*/
@@ -25,23 +25,7 @@ Boston, MA 02111-1307, USA.
#include <newpluginapi.h>
#include <m_system.h>
-
-
-extern struct LIST_INTERFACE list_interface;
-
-
// Need to be called on ME_SYSTEM_MODULESLOADED
-void init_list_interface();
-
-
-#define List_Create(x,y) (list_interface.List_Create(x,y))
-#define List_Destroy(x) (list_interface.List_Destroy(x))
-#define List_Find(x,y) (list_interface.List_Find(x,y))
-#define List_GetIndex(x,y,z) (list_interface.List_GetIndex(x,y,z))
-#define List_Insert(x,y,z) (list_interface.List_Insert(x,y,z))
-#define List_Remove(x,y) (list_interface.List_Remove(x,y))
-#define List_IndexOf(x,y) (list_interface.List_IndexOf(x,y))
-
BOOL List_HasItens( SortedList* p_list );