summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-09-14 16:53:20 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-09-14 16:53:20 +0300
commit91d85052ba54d5c93eb5ec3fffe283f664777b60 (patch)
treee954484815aacc81fca74f946a51d3722ab8d6f8 /src
parentd8a068a2beeb0056b303a612475e7eaa3188e157 (diff)
unused function declarations removed
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/clc.h3
-rw-r--r--src/mir_app/src/genmenu.h7
-rw-r--r--src/mir_app/src/langpack.h10
-rw-r--r--src/mir_app/src/metacontacts.h2
-rw-r--r--src/mir_app/src/netlib.h6
5 files changed, 2 insertions, 26 deletions
diff --git a/src/mir_app/src/clc.h b/src/mir_app/src/clc.h
index fdfdcbb0f7..47656c78b1 100644
--- a/src/mir_app/src/clc.h
+++ b/src/mir_app/src/clc.h
@@ -39,7 +39,6 @@ extern int g_IconWidth, g_IconHeight;
extern HIMAGELIST hCListImages;
void fnClcOptionsChanged(void);
-void fnClcBroadcast(int msg, WPARAM wParam, LPARAM lParam);
void fnInitAutoRebuild(HWND hWnd);
LRESULT CALLBACK fnContactListControlWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
@@ -90,7 +89,6 @@ int fnClcStatusToPf2(int status);
int fnIsHiddenMode(struct ClcData *dat, int status);
void fnHideInfoTip(HWND hwnd, struct ClcData *dat);
void fnNotifyNewContact(HWND hwnd, MCONTACT hContact);
-void fnGetSetting(int i, LOGFONT* lf, COLORREF* colour);
void fnGetDefaultFontSetting(int i, LOGFONT* lf, COLORREF* colour);
void fnGetFontSetting(int i, LOGFONT* lf, COLORREF* colour);
void fnLoadClcOptions(HWND hwnd, struct ClcData *dat, BOOL bFirst);
@@ -109,7 +107,6 @@ int fnRowHitTest(struct ClcData *dat, int y);
/* clcopts.c */
int ClcOptInit(WPARAM wParam, LPARAM lParam);
-void GetFontSetting(int i, LOGFONTA *lf, COLORREF *colour);
/* clistmenus.c */
HGENMENU fnGetProtocolMenu(const char*);
diff --git a/src/mir_app/src/genmenu.h b/src/mir_app/src/genmenu.h
index f8d5e69d35..2664a01db1 100644
--- a/src/mir_app/src/genmenu.h
+++ b/src/mir_app/src/genmenu.h
@@ -107,9 +107,6 @@ extern LIST<TIntMenuObject> g_menus;
// internal usage
TMO_IntMenuItem* MO_GetIntMenuItem(HGENMENU);
-int MO_DrawMenuItem(LPDRAWITEMSTRUCT dis);
-int MO_MeasureMenuItem(LPMEASUREITEMSTRUCT mis);
-
int MO_ProcessCommandBySubMenuIdent(int menuID, int command, LPARAM lParam);
// function returns TRUE if the walk should be immediately stopped
@@ -124,13 +121,9 @@ int UninitGenMenu();
int Menu_LoadFromDatabase(TMO_IntMenuItem *pimi, void *param);
-TMO_IntMenuItem * GetMenuItemByGlobalID(int globalMenuID);
-BOOL FindMenuHanleByGlobalID(HMENU hMenu, int globalID, struct _MenuItemHandles * dat); //GenMenu.c
-
LPTSTR GetMenuItemText(TMO_IntMenuItem*);
int GenMenuOptInit(WPARAM wParam, LPARAM);
-int GetMenuItembyId(const int objpos, const int id);
TIntMenuObject* GetMenuObjbyId(const int id);
diff --git a/src/mir_app/src/langpack.h b/src/mir_app/src/langpack.h
index 1db1f701e4..64e91486e8 100644
--- a/src/mir_app/src/langpack.h
+++ b/src/mir_app/src/langpack.h
@@ -24,14 +24,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
/////////////////////////////////////////////////////////////////////////////////////////
-static INT_PTR srvTranslateString(WPARAM wParam, LPARAM lParam);
-static INT_PTR srvTranslateMenu(WPARAM wParam, LPARAM lParam);
-static INT_PTR srvRegisterLP(WPARAM wParam, LPARAM lParam);
static INT_PTR srvGetDefaultCodePage(WPARAM, LPARAM);
static INT_PTR srvGetDefaultLocale(WPARAM, LPARAM);
-static INT_PTR srvPcharToTchar(WPARAM wParam, LPARAM lParam);
-static INT_PTR srvReloadLangpack(WPARAM wParam, LPARAM lParam);
-static INT_PTR srvGetPluginLangpack(WPARAM wParam, LPARAM lParam);
+static INT_PTR srvReloadLangpack(WPARAM, LPARAM);
/////////////////////////////////////////////////////////////////////////////////////////
@@ -52,7 +47,4 @@ struct LANGPACK_INFO
BYTE flags; /* see LPIF_* flags */
};
-typedef BOOL(*ENUM_PACKS_CALLBACK) (LANGPACK_INFO *pack, WPARAM wParam, LPARAM lParam);
-BOOL EnumLangpacks(ENUM_PACKS_CALLBACK callback, WPARAM wParam, LPARAM lParam);
-
int LangpackOptionsInit(WPARAM wParam, LPARAM);
diff --git a/src/mir_app/src/metacontacts.h b/src/mir_app/src/metacontacts.h
index 1008e209ea..ac86e47e60 100644
--- a/src/mir_app/src/metacontacts.h
+++ b/src/mir_app/src/metacontacts.h
@@ -67,8 +67,6 @@ DBCachedContact* CheckMeta(MCONTACT hMeta);
void Meta_FixStatus(DBCachedContact *ccMeta);
void Meta_UpdateSrmmIcon(DBCachedContact *ccMeta, int iStatus);
-char *Meta_GetUniqueIdentifier(MCONTACT hContact, DWORD *pused);
-
INT_PTR Meta_GetCaps(WPARAM wParam,LPARAM lParam);
INT_PTR Meta_GetName(WPARAM wParam,LPARAM lParam);
INT_PTR Meta_LoadIcon(WPARAM wParam,LPARAM lParam);
diff --git a/src/mir_app/src/netlib.h b/src/mir_app/src/netlib.h
index be965515d1..eb3f37f5ae 100644
--- a/src/mir_app/src/netlib.h
+++ b/src/mir_app/src/netlib.h
@@ -140,9 +140,6 @@ void NetlibDeleteNestedCS(NetlibNestedCriticalSection *nlncs);
#define NLNCS_RECV 1
int NetlibEnterNestedCS(NetlibConnection *nlc, int which);
void NetlibLeaveNestedCS(NetlibNestedCriticalSection *nlncs);
-INT_PTR NetlibBase64Encode(WPARAM wParam, LPARAM lParam);
-INT_PTR NetlibBase64Decode(WPARAM wParam, LPARAM lParam);
-INT_PTR NetlibHttpUrlEncode(WPARAM wParam, LPARAM lParam);
extern mir_cs csNetlibUser;
extern LIST<NetlibUser> netlibUser;
@@ -198,5 +195,4 @@ void NetlibUPnPInit(void);
void NetlibUPnPDestroy(void);
// netlibsecurity.c
-char* NtlmCreateResponseFromChallenge(HANDLE hSecurity, const char *szChallenge, const wchar_t* login, const wchar_t* psw,
- bool http, unsigned& complete);
+char* NtlmCreateResponseFromChallenge(HANDLE hSecurity, const char *szChallenge, const wchar_t* login, const wchar_t* psw, bool http, unsigned& complete);