diff options
author | George Hazan <george.hazan@gmail.com> | 2016-04-13 17:04:11 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-04-13 17:04:11 +0000 |
commit | 5e8e5414eec286c561d2f8203b820a4c2839a766 (patch) | |
tree | aff6d5a5f53e145a2849ff0b612871e9a355beef /plugins/Clist_modern | |
parent | 5524ecbe269270a1fdc624c041c5a979f00d9468 (diff) |
various old / unused junk
git-svn-id: http://svn.miranda-ng.org/main/trunk@16647 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern')
-rw-r--r-- | plugins/Clist_modern/src/modern_clcitems.cpp | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/plugins/Clist_modern/src/modern_clcitems.cpp b/plugins/Clist_modern/src/modern_clcitems.cpp index d9d6b31f46..138822e1c5 100644 --- a/plugins/Clist_modern/src/modern_clcitems.cpp +++ b/plugins/Clist_modern/src/modern_clcitems.cpp @@ -226,32 +226,6 @@ static ClcContact* AddContactToGroup(ClcData *dat, ClcGroup *group, ClcCacheEntr return group->cl.items[i];
}
-void* AddTempGroup(HWND hwnd, ClcData *dat, const TCHAR *szName)
-{
- if (wildcmp(_T2A(szName), "-@-HIDDEN-GROUP-@-"))
- return NULL;
-
- int i;
- DWORD groupFlags;
- for (i = 1;; i++) {
- TCHAR *szGroupName = pcli->pfnGetGroupName(i, &groupFlags);
- if (szGroupName == NULL)
- break;
- if (!mir_tstrcmpi(szGroupName, szName))
- return NULL;
- }
-
- char buf[20];
- _itoa_s(i - 1, buf, 10);
-
- TCHAR b2[255];
- mir_sntprintf(b2, _T("#%s"), szName);
- b2[0] = 1 | GROUPF_EXPANDED;
- db_set_ts(NULL, "CListGroups", buf, b2);
- pcli->pfnGetGroupName(i, &groupFlags);
- return cli_AddGroup(hwnd, dat, szName, groupFlags, i, 0);
-}
-
void cli_AddContactToTree(HWND hwnd, ClcData *dat, MCONTACT hContact, int updateTotalCount, int checkHideOffline)
{
ClcCacheEntry *cacheEntry = pcli->pfnGetCacheEntry(hContact);
|