diff options
Diffstat (limited to 'plugins/AutoShutdown')
-rw-r--r-- | plugins/AutoShutdown/src/utils.cpp | 17 | ||||
-rw-r--r-- | plugins/AutoShutdown/src/utils.h | 1 |
2 files changed, 0 insertions, 18 deletions
diff --git a/plugins/AutoShutdown/src/utils.cpp b/plugins/AutoShutdown/src/utils.cpp index 7fc7c6720a..d866eadd83 100644 --- a/plugins/AutoShutdown/src/utils.cpp +++ b/plugins/AutoShutdown/src/utils.cpp @@ -204,23 +204,6 @@ BOOL GetFormatedDateTime(TCHAR *pszOut,int nSize,time_t timestamp,BOOL fShowDate /************************* Skin ***********************************/
-HANDLE IcoLib_AddIconRes(const char *pszDbName,const TCHAR *pszSection,const TCHAR *pszDesc,HINSTANCE hInst,WORD idRes,BOOL fLarge)
-{
- TCHAR szFileName[MAX_PATH];
- GetModuleFileName(hInst,szFileName,_countof(szFileName));
-
- SKINICONDESC sid = { 0 };
- sid.pszName = (char*)pszDbName;
- sid.section.t = (TCHAR*)pszSection;
- sid.description.t = (TCHAR*)pszDesc;
- sid.defaultFile.t = szFileName;
- sid.iDefaultIndex = -idRes;
- sid.cx = GetSystemMetrics(fLarge?SM_CXICON:SM_CXSMICON);
- sid.cy = GetSystemMetrics(fLarge?SM_CYICON:SM_CYSMICON);
- sid.flags = SIDF_SORTED | SIDF_ALL_TCHAR;
- return IcoLib_AddIcon(&sid);
-}
-
void AddHotkey()
{
HOTKEYDESC hkd = {0};
diff --git a/plugins/AutoShutdown/src/utils.h b/plugins/AutoShutdown/src/utils.h index 1c87078c92..02edb32dda 100644 --- a/plugins/AutoShutdown/src/utils.h +++ b/plugins/AutoShutdown/src/utils.h @@ -35,5 +35,4 @@ BOOL GetFormatedCountdown(TCHAR *pszOut,int nSize,time_t countdown); BOOL GetFormatedDateTime(TCHAR *pszOut,int nSize,time_t timestamp,BOOL fShowDateEvenToday);
/* Skin */
-HANDLE IcoLib_AddIconRes(const char *pszDbName,const TCHAR *pszSection,const TCHAR *pszDesc,HINSTANCE hInst,WORD idRes,BOOL fLarge);
void AddHotkey();
|