diff options
Diffstat (limited to 'plugins/Utils')
-rw-r--r-- | plugins/Utils/mir_dblists.cpp | 14 | ||||
-rw-r--r-- | plugins/Utils/mir_dblists.h | 18 |
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 );
|