diff options
author | George Hazan <ghazan@miranda.im> | 2018-03-27 18:39:07 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-03-27 18:39:07 +0300 |
commit | 7eaccc7d1af879e2a8c58364ca0c11816225dfe0 (patch) | |
tree | bdef114c786c6f372da0b76317d58c5373534e8d /plugins/Clist_nicer | |
parent | 7352a4a4329f0d91f6b69da785891f917d261827 (diff) |
there's no need to load contacts from unloaded protocols
Diffstat (limited to 'plugins/Clist_nicer')
-rw-r--r-- | plugins/Clist_nicer/src/clc.h | 44 | ||||
-rw-r--r-- | plugins/Clist_nicer/src/clist.h | 2 |
2 files changed, 18 insertions, 28 deletions
diff --git a/plugins/Clist_nicer/src/clc.h b/plugins/Clist_nicer/src/clc.h index e670e6d764..2af07f523f 100644 --- a/plugins/Clist_nicer/src/clc.h +++ b/plugins/Clist_nicer/src/clc.h @@ -372,35 +372,29 @@ DWORD INTSORT_GetLastMsgTime(MCONTACT hContact); LRESULT ProcessExternalMessages(HWND hwnd, struct ClcData *dat, UINT msg, WPARAM wParam, LPARAM lParam);
// clcutils.c
-void SetGroupExpand(HWND hwnd, struct ClcData *dat, ClcGroup *group, int newState);
-void DoSelectionDefaultAction(HWND hwnd, struct ClcData *dat);
-int FindRowByText(HWND hwnd, struct ClcData *dat, const wchar_t *text, int prefixOk);
-void BeginRenameSelection(HWND hwnd, struct ClcData *dat);
-int HitTest(HWND hwnd, struct ClcData *dat, int testx, int testy, ClcContact **contact, ClcGroup **group, DWORD *flags);
-void ScrollTo(HWND hwnd, struct ClcData *dat, int desty, int noSmooth);
-void RecalcScrollBar(HWND hwnd, struct ClcData *dat);
-size_t MY_pathToRelative(const wchar_t *pSrc, wchar_t *pOut);
-size_t MY_pathToAbsolute(const wchar_t *pSrc, wchar_t *pOut);
-
-int GetDropTargetInformation(HWND hwnd, struct ClcData *dat, POINT pt);
-void LoadClcOptions(HWND hwnd, struct ClcData *dat, BOOL bFirst);
-void RecalculateGroupCheckboxes(HWND hwnd, struct ClcData *dat);
-void SetGroupChildCheckboxes(ClcGroup *group, int checked);
-BYTE GetCachedStatusMsg(TExtraCache* p, char *szProto);
-int __fastcall GetStatusOnlineness(int status);
-void GetExtendedInfo(ClcContact *contact, struct ClcData *dat);
-extern LRESULT CALLBACK NewStatusBarWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
-void HideShowNotifyFrame();
-DWORD GetCLUIWindowStyle(BYTE style);
-void ApplyCLUIBorderStyle();
+void SetGroupExpand(HWND hwnd, struct ClcData *dat, ClcGroup *group, int newState);
+void BeginRenameSelection(HWND hwnd, struct ClcData *dat);
+int HitTest(HWND hwnd, struct ClcData *dat, int testx, int testy, ClcContact **contact, ClcGroup **group, DWORD *flags);
+void ScrollTo(HWND hwnd, struct ClcData *dat, int desty, int noSmooth);
+void RecalcScrollBar(HWND hwnd, struct ClcData *dat);
+size_t MY_pathToRelative(const wchar_t *pSrc, wchar_t *pOut);
+size_t MY_pathToAbsolute(const wchar_t *pSrc, wchar_t *pOut);
+
+int GetDropTargetInformation(HWND hwnd, struct ClcData *dat, POINT pt);
+void LoadClcOptions(HWND hwnd, struct ClcData *dat, BOOL bFirst);
+BYTE GetCachedStatusMsg(TExtraCache* p, char *szProto);
+int __fastcall GetStatusOnlineness(int status);
+void GetExtendedInfo(ClcContact *contact, struct ClcData *dat);
+LRESULT CALLBACK NewStatusBarWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
+void HideShowNotifyFrame();
+DWORD GetCLUIWindowStyle(BYTE style);
+void ApplyCLUIBorderStyle();
int FrameNCCalcSize(HWND hwnd, WNDPROC oldWndProc, WPARAM wParam, LPARAM lParam, BOOL hasTitleBar);
int FrameNCPaint(HWND hwnd, WNDPROC oldWndProc, WPARAM wParam, LPARAM lParam, BOOL hasTitleBar);
void FreeProtocolData( void );
-void GetClientID(ClcContact *contact, char *client);
-int LoadCLCButtonModule(void);
void SetButtonStates();
void ConfigureCLUIGeometry(int mode);
void IcoLibReloadIcons();
@@ -414,7 +408,6 @@ void SkinDrawBg(HWND hwnd, HDC hdc); int GetBasicFontID(ClcContact *contact);
int CLVM_GetContactHiddenStatus(MCONTACT hContact, char *szStatus, struct ClcData *dat);
void CreateViewModeFrame();
-int GetExtraCache(MCONTACT hContact, char *szProto);
void ReloadExtraInfo(MCONTACT hContact);
void LoadAvatarForContact(ClcContact *p);
void ApplyViewMode(const char *name);
@@ -434,8 +427,7 @@ void CLN_LoadAllIcons(BOOL mode); void ReloadSkinItemsToCache();
// clcopts.c
-int ClcOptInit(WPARAM wParam, LPARAM lParam);
-void GetFontSetting(int i, LOGFONTA *lf, COLORREF *colour);
+int ClcOptInit(WPARAM wParam, LPARAM lParam);
void CluiProtocolStatusChanged(int, const char*);
void LoadSkinItemToCache(struct TExtraCache *cEntry);
diff --git a/plugins/Clist_nicer/src/clist.h b/plugins/Clist_nicer/src/clist.h index f229f42c22..8e6d0e3212 100644 --- a/plugins/Clist_nicer/src/clist.h +++ b/plugins/Clist_nicer/src/clist.h @@ -25,8 +25,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #pragma once
int IconFromStatusMode(const char *szProto, int status, MCONTACT hContact, HICON *phIcon);
-HTREEITEM GetTreeItemByHContact(MCONTACT hContact);
-void SortContacts(void);
#define CLUIINTM_REDRAW (WM_USER+100)
#define CLUIINTM_STATUSBARUPDATE (WM_USER+101)
|