summaryrefslogtreecommitdiff
path: root/plugins/Dropbox/src/dropbox_icons.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Dropbox/src/dropbox_icons.cpp')
-rw-r--r--plugins/Dropbox/src/dropbox_icons.cpp30
1 files changed, 0 insertions, 30 deletions
diff --git a/plugins/Dropbox/src/dropbox_icons.cpp b/plugins/Dropbox/src/dropbox_icons.cpp
deleted file mode 100644
index 33cc167117..0000000000
--- a/plugins/Dropbox/src/dropbox_icons.cpp
+++ /dev/null
@@ -1,30 +0,0 @@
-#include "stdafx.h"
-
-static IconItem iconList[] =
-{
- { LPGEN("Protocol icon"), "main", IDI_DROPBOX },
- { LPGEN("Upload file(s)"), "upload", IDI_UPLOAD }
-};
-
-void InitializeIcons()
-{
- Icon_Register(g_hInstance, "Protocols/" MODULE, iconList, _countof(iconList), MODULE);
-}
-
-HANDLE GetIconHandleByName(const char *name)
-{
- for (size_t i = 0; i < _countof(iconList); i++)
- if (mir_strcmpi(iconList[i].szName, name) == 0)
- return iconList[i].hIcolib;
-
- return nullptr;
-}
-
-HICON LoadIconEx(int iconId, bool big)
-{
- for (int i = 0; i < _countof(iconList); i++)
- if (iconList[i].defIconID == iconId)
- return IcoLib_GetIconByHandle(iconList[i].hIcolib, big);
-
- return nullptr;
-}