diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-26 23:41:55 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-26 23:41:55 +0000 |
commit | 25221b7d2afb70f82eb3805330fd39a6f6708049 (patch) | |
tree | 6fdd3eb5c5642788e1f8286385b15535f9a7ec16 /plugins/QuickMessages/Utils.cpp | |
parent | ef81e9edc10e2478f514e1fbfb0828ad1e7d8e49 (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/QuickMessages/Utils.cpp')
-rw-r--r-- | plugins/QuickMessages/Utils.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/plugins/QuickMessages/Utils.cpp b/plugins/QuickMessages/Utils.cpp index 01b020228c..9531268524 100644 --- a/plugins/QuickMessages/Utils.cpp +++ b/plugins/QuickMessages/Utils.cpp @@ -58,7 +58,7 @@ void li_ListDestruct(SortedList *pList, ItemDestuctor pItemDestructor) int i=0;
if (!pList) return;
for (i=0; i<pList->realCount; i++) pItemDestructor(pList->items[i]);
- li.List_Destroy(pList);
+ List_Destroy(pList);
mir_free(pList);
}
@@ -67,13 +67,13 @@ void li_RemoveDestruct(SortedList *pList, int index, ItemDestuctor pItemDestruct if (index>=0 && index<pList->realCount)
{
pItemDestructor(pList->items[index]);
- li.List_Remove(pList, index);
+ List_Remove(pList, index);
}
}
void li_RemovePtrDestruct(SortedList *pList, void * ptr, ItemDestuctor pItemDestructor)
{
- if (li.List_RemovePtr(pList, ptr))
+ if (List_RemovePtr(pList, ptr))
pItemDestructor(ptr);
}
@@ -105,7 +105,7 @@ void li_ZeroQuickList(SortedList *pList) qd->bIsService=0;
qd->ptszValue=NULL;
qd->ptszValueName=NULL;
- li.List_Remove(pList, i);
+ List_Remove(pList, i);
i--;
}
}
@@ -269,7 +269,7 @@ DWORD BalanceButtons(int buttonsWas,int buttonsNow) void InitButtonsList()
{
int i,j,k=0;
- QuickList=li.List_Create(0,1);
+ QuickList=List_Create(0,1);
for(i=0;i<g_iButtonsCount;i++)
{
TCHAR* pszBName=NULL;
@@ -281,7 +281,7 @@ void InitButtonsList() ld = (ListData *)mir_alloc(sizeof(ListData));
ButtonsList[i]=ld;
- ld->sl=li.List_Create(0,1);
+ ld->sl=List_Create(0,1);
ld->ptszQValue=ld->ptszOPQValue=getMenuEntry(i,0,2);
ld->ptszButtonName=pszBName;
ld->dwPos=ld->dwOPPos=i;
@@ -309,9 +309,9 @@ void InitButtonsList() qd->dwPos=k++;
qd->ptszValue=bd->pszValue;
qd->ptszValueName=bd->pszName;
- li.List_InsertPtr(QuickList,qd);
+ List_InsertPtr(QuickList,qd);
}
- li.List_InsertPtr((SortedList*)ld->sl,bd);
+ List_InsertPtr((SortedList*)ld->sl,bd);
}
}
@@ -333,7 +333,7 @@ while(ButtonsList[i]) if(QuickList)
{
li_ZeroQuickList(QuickList);
- li.List_Destroy(QuickList);
+ List_Destroy(QuickList);
}
}
|