summaryrefslogtreecommitdiff
path: root/src/modules/clist/clc.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-18 20:53:59 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-18 20:53:59 +0000
commit3f23417a1099f73dc28ec1b7d6ec2a1a7fc2b7a2 (patch)
tree3e0bcd88c55dad310da0dc980e252bf9fbfa6dc5 /src/modules/clist/clc.h
parent537b94169bf2483798a651ee3b96f7904eebe7b4 (diff)
- PLUGININFO structure removed at all;
- Options_AddPage & UserInfo_AddPage replaced MS_OPT_ADDPAGE & MS_USERINFO_ADDPAGE services respectively - total internal redesign of options' translation - code reformatting git-svn-id: http://svn.miranda-ng.org/main/trunk@477 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/clist/clc.h')
-rw-r--r--src/modules/clist/clc.h190
1 files changed, 95 insertions, 95 deletions
diff --git a/src/modules/clist/clc.h b/src/modules/clist/clc.h
index ba12d8b70a..3662cea1c6 100644
--- a/src/modules/clist/clc.h
+++ b/src/modules/clist/clc.h
@@ -83,64 +83,64 @@ struct ClcData {
/* clc.c */
extern int g_IconWidth, g_IconHeight;
-void fnClcOptionsChanged( void );
-void fnClcBroadcast( int msg, WPARAM wParam, LPARAM lParam );
-HMENU fnBuildGroupPopupMenu( struct ClcGroup* group );
+void fnClcOptionsChanged(void);
+void fnClcBroadcast(int msg, WPARAM wParam, LPARAM lParam);
+HMENU fnBuildGroupPopupMenu(struct ClcGroup* group);
LRESULT CALLBACK fnContactListControlWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
/* clcidents.c */
-int fnGetRowsPriorTo( struct ClcGroup *group, struct ClcGroup *subgroup, int contactIndex );
-int fnFindItem( HWND hwnd, struct ClcData *dat, HANDLE hItem, struct ClcContact **contact, struct ClcGroup **subgroup, int *isVisible );
-int fnGetRowByIndex( struct ClcData *dat, int testindex, struct ClcContact **contact, struct ClcGroup **subgroup );
-HANDLE fnContactToHItem( struct ClcContact* contact );
-HANDLE fnContactToItemHandle( struct ClcContact * contact, DWORD * nmFlags );
+int fnGetRowsPriorTo(struct ClcGroup *group, struct ClcGroup *subgroup, int contactIndex);
+int fnFindItem(HWND hwnd, struct ClcData *dat, HANDLE hItem, struct ClcContact **contact, struct ClcGroup **subgroup, int *isVisible);
+int fnGetRowByIndex(struct ClcData *dat, int testindex, struct ClcContact **contact, struct ClcGroup **subgroup);
+HANDLE fnContactToHItem(struct ClcContact* contact);
+HANDLE fnContactToItemHandle(struct ClcContact * contact, DWORD * nmFlags);
/* clcitems.c */
-struct ClcGroup* fnAddGroup( HWND hwnd, struct ClcData *dat, const TCHAR *szName, DWORD flags, int groupId, int calcTotalMembers );
+struct ClcGroup* fnAddGroup(HWND hwnd, struct ClcData *dat, const TCHAR *szName, DWORD flags, int groupId, int calcTotalMembers);
struct ClcGroup* fnRemoveItemFromGroup(HWND hwnd, struct ClcGroup *group, struct ClcContact *contact, int updateTotalCount);
-void fnFreeContact( struct ClcContact *p );
-void fnFreeGroup( struct ClcGroup *group );
+void fnFreeContact(struct ClcContact *p);
+void fnFreeGroup(struct ClcGroup *group);
int fnAddInfoItemToGroup(struct ClcGroup *group, int flags, const TCHAR *pszText);
-int fnAddItemToGroup( struct ClcGroup *group, int iAboveItem );
-void fnAddContactToTree( HWND hwnd, struct ClcData *dat, HANDLE hContact, int updateTotalCount, int checkHideOffline);
-int fnAddContactToGroup( struct ClcData *dat, struct ClcGroup *group, HANDLE hContact);
-void fnDeleteItemFromTree( HWND hwnd, HANDLE hItem );
-void fnRebuildEntireList( HWND hwnd, struct ClcData *dat );
-int fnGetGroupContentsCount( struct ClcGroup *group, int visibleOnly );
-void fnSortCLC( HWND hwnd, struct ClcData *dat, int useInsertionSort );
+int fnAddItemToGroup(struct ClcGroup *group, int iAboveItem);
+void fnAddContactToTree(HWND hwnd, struct ClcData *dat, HANDLE hContact, int updateTotalCount, int checkHideOffline);
+int fnAddContactToGroup(struct ClcData *dat, struct ClcGroup *group, HANDLE hContact);
+void fnDeleteItemFromTree(HWND hwnd, HANDLE hItem);
+void fnRebuildEntireList(HWND hwnd, struct ClcData *dat);
+int fnGetGroupContentsCount(struct ClcGroup *group, int visibleOnly);
+void fnSortCLC(HWND hwnd, struct ClcData *dat, int useInsertionSort);
void fnSaveStateAndRebuildList(HWND hwnd, struct ClcData *dat);
/* clcmsgs.c */
-LRESULT fnProcessExternalMessages(HWND hwnd, struct ClcData *dat, UINT msg, WPARAM wParam, LPARAM lParam );
+LRESULT fnProcessExternalMessages(HWND hwnd, struct ClcData *dat, UINT msg, WPARAM wParam, LPARAM lParam);
/* clcutils.c */
-char* fnGetGroupCountsText(struct ClcData *dat, struct ClcContact *contact );
-int fnHitTest( HWND hwnd, struct ClcData *dat, int testx, int testy, struct ClcContact **contact, struct ClcGroup **group, DWORD * flags );
-void fnScrollTo( HWND hwnd, struct ClcData *dat, int desty, int noSmooth );
-void fnEnsureVisible(HWND hwnd, struct ClcData *dat, int iItem, int partialOk );
-void fnRecalcScrollBar( HWND hwnd, struct ClcData *dat );
-void fnSetGroupExpand( HWND hwnd, struct ClcData *dat, struct ClcGroup *group, int newState );
-void fnDoSelectionDefaultAction( HWND hwnd, struct ClcData *dat );
-int fnFindRowByText(HWND hwnd, struct ClcData *dat, const TCHAR *text, int prefixOk );
-void fnEndRename(HWND hwnd, struct ClcData *dat, int save );
-void fnDeleteFromContactList( HWND hwnd, struct ClcData *dat );
-void fnBeginRenameSelection( HWND hwnd, struct ClcData *dat );
-void fnCalcEipPosition( struct ClcData *dat, struct ClcContact *contact, struct ClcGroup *group, POINT *result);
-int fnGetDropTargetInformation( HWND hwnd, struct ClcData *dat, POINT pt );
-int fnClcStatusToPf2( int status );
-int fnIsHiddenMode( struct ClcData *dat, int status );
-void fnHideInfoTip( HWND hwnd, struct ClcData *dat );
-void fnNotifyNewContact( HWND hwnd, HANDLE hContact );
-DWORD fnGetDefaultExStyle( void );
-void fnGetSetting( int i, LOGFONT* lf, COLORREF* colour );
+char* fnGetGroupCountsText(struct ClcData *dat, struct ClcContact *contact);
+int fnHitTest(HWND hwnd, struct ClcData *dat, int testx, int testy, struct ClcContact **contact, struct ClcGroup **group, DWORD * flags);
+void fnScrollTo(HWND hwnd, struct ClcData *dat, int desty, int noSmooth);
+void fnEnsureVisible(HWND hwnd, struct ClcData *dat, int iItem, int partialOk);
+void fnRecalcScrollBar(HWND hwnd, struct ClcData *dat);
+void fnSetGroupExpand(HWND hwnd, struct ClcData *dat, struct ClcGroup *group, int newState);
+void fnDoSelectionDefaultAction(HWND hwnd, struct ClcData *dat);
+int fnFindRowByText(HWND hwnd, struct ClcData *dat, const TCHAR *text, int prefixOk);
+void fnEndRename(HWND hwnd, struct ClcData *dat, int save);
+void fnDeleteFromContactList(HWND hwnd, struct ClcData *dat);
+void fnBeginRenameSelection(HWND hwnd, struct ClcData *dat);
+void fnCalcEipPosition(struct ClcData *dat, struct ClcContact *contact, struct ClcGroup *group, POINT *result);
+int fnGetDropTargetInformation(HWND hwnd, struct ClcData *dat, POINT pt);
+int fnClcStatusToPf2(int status);
+int fnIsHiddenMode(struct ClcData *dat, int status);
+void fnHideInfoTip(HWND hwnd, struct ClcData *dat);
+void fnNotifyNewContact(HWND hwnd, HANDLE hContact);
+DWORD fnGetDefaultExStyle(void);
+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 );
-void fnRecalculateGroupCheckboxes( HWND hwnd, struct ClcData *dat );
-void fnSetGroupChildCheckboxes( struct ClcGroup *group, int checked );
-void fnInvalidateItem( HWND hwnd, struct ClcData *dat, int iItem );
+void fnGetFontSetting(int i, LOGFONT* lf, COLORREF* colour);
+void fnLoadClcOptions(HWND hwnd, struct ClcData *dat);
+void fnRecalculateGroupCheckboxes(HWND hwnd, struct ClcData *dat);
+void fnSetGroupChildCheckboxes(struct ClcGroup *group, int checked);
+void fnInvalidateItem(HWND hwnd, struct ClcData *dat, int iItem);
int fnGetRowBottomY(struct ClcData *dat, int item);
int fnGetRowHeight(struct ClcData *dat, int item);
@@ -154,96 +154,96 @@ DWORD GetDefaultExStyle(void);
void GetFontSetting(int i, LOGFONTA *lf, COLORREF *colour);
/* clistmenus.c */
-HGENMENU fnGetProtocolMenu( const char* );
-int fnGetProtocolVisibility( const char* accName );
-int fnConvertMenu( CLISTMENUITEM*, TMO_MenuItem* );
+HGENMENU fnGetProtocolMenu(const char*);
+int fnGetProtocolVisibility(const char* accName);
+int fnConvertMenu(CLISTMENUITEM*, TMO_MenuItem*);
int fnGetAccountIndexByPos(int Pos);
int fnGetProtoIndexByPos(PROTOCOLDESCRIPTOR ** proto, int protoCnt, int Pos);
-void RebuildMenuOrder( void );
+void RebuildMenuOrder(void);
INT_PTR MenuProcessCommand(WPARAM wParam, LPARAM lParam);
/* clistsettings.c */
-TCHAR* fnGetContactDisplayName( HANDLE hContact, int mode );
-void fnGetDefaultFontSetting( int i, LOGFONT* lf, COLORREF * colour);
-void fnInvalidateDisplayNameCacheEntry( HANDLE hContact );
+TCHAR* fnGetContactDisplayName(HANDLE hContact, int mode);
+void fnGetDefaultFontSetting(int i, LOGFONT* lf, COLORREF * colour);
+void fnInvalidateDisplayNameCacheEntry(HANDLE hContact);
-ClcCacheEntryBase* fnGetCacheEntry( HANDLE hContact );
-ClcCacheEntryBase* fnCreateCacheItem ( HANDLE hContact );
-void fnCheckCacheItem( ClcCacheEntryBase* p );
-void fnFreeCacheItem( ClcCacheEntryBase* p );
+ClcCacheEntryBase* fnGetCacheEntry(HANDLE hContact);
+ClcCacheEntryBase* fnCreateCacheItem (HANDLE hContact);
+void fnCheckCacheItem(ClcCacheEntryBase* p);
+void fnFreeCacheItem(ClcCacheEntryBase* p);
/* clcfiledrop.c */
void InitFileDropping(void);
-void fnRegisterFileDropping ( HWND hwnd );
-void fnUnregisterFileDropping ( HWND hwnd );
+void fnRegisterFileDropping (HWND hwnd);
+void fnUnregisterFileDropping (HWND hwnd);
/* clistevents.c */
-struct CListEvent* fnAddEvent( CLISTEVENT *cle );
-CLISTEVENT* fnGetEvent( HANDLE hContact, int idx );
+struct CListEvent* fnAddEvent(CLISTEVENT *cle);
+CLISTEVENT* fnGetEvent(HANDLE hContact, int idx);
-struct CListEvent* fnCreateEvent( void );
-void fnFreeEvent( struct CListEvent* p );
+struct CListEvent* fnCreateEvent(void);
+void fnFreeEvent(struct CListEvent* p);
-int fnEventsProcessContactDoubleClick( HANDLE hContact );
-int fnEventsProcessTrayDoubleClick( int );
+int fnEventsProcessContactDoubleClick(HANDLE hContact);
+int fnEventsProcessTrayDoubleClick(int);
int fnGetImlIconIndex(HICON hIcon);
-int fnRemoveEvent( HANDLE hContact, HANDLE dbEvent );
+int fnRemoveEvent(HANDLE hContact, HANDLE dbEvent);
/* clistmod.c */
int fnIconFromStatusMode(const char *szProto, int status, HANDLE hContact);
-int fnShowHide( WPARAM wParam, LPARAM lParam );
-HICON fnGetIconFromStatusMode( HANDLE hContact, const char *szProto, int status );
-TCHAR* fnGetStatusModeDescription( int wParam, int lParam);
+int fnShowHide(WPARAM wParam, LPARAM lParam);
+HICON fnGetIconFromStatusMode(HANDLE hContact, const char *szProto, int status);
+TCHAR* fnGetStatusModeDescription(int wParam, int lParam);
int fnGetWindowVisibleState(HWND hWnd, int iStepX, int iStepY);
/* clisttray.c */
-void fnInitTray( void );
-void fnUninitTray( void );
-void fnLockTray( void );
-void fnUnlockTray( void );
+void fnInitTray(void);
+void fnUninitTray(void);
+void fnLockTray(void);
+void fnUnlockTray(void);
int fnCListTrayNotify(MIRANDASYSTRAYNOTIFY *msn);
int fnTrayIconAdd(HWND hwnd, const char *szProto, const char *szIconProto, int status);
-int fnTrayIconDestroy( HWND hwnd );
-void fnTrayIconIconsChanged ( void );
-int fnTrayIconInit( HWND hwnd );
-TCHAR* fnTrayIconMakeTooltip( const TCHAR *szPrefix, const char *szProto );
-int fnTrayIconPauseAutoHide ( WPARAM wParam, LPARAM lParam );
-INT_PTR fnTrayIconProcessMessage ( WPARAM wParam, LPARAM lParam );
+int fnTrayIconDestroy(HWND hwnd);
+void fnTrayIconIconsChanged (void);
+int fnTrayIconInit(HWND hwnd);
+TCHAR* fnTrayIconMakeTooltip(const TCHAR *szPrefix, const char *szProto);
+int fnTrayIconPauseAutoHide (WPARAM wParam, LPARAM lParam);
+INT_PTR fnTrayIconProcessMessage (WPARAM wParam, LPARAM lParam);
void fnTrayIconRemove(HWND hwnd, const char *szProto);
int fnTrayIconSetBaseInfo(HICON hIcon, const char *szPreferredProto);
-void fnTrayIconSetToBase ( char *szPreferredProto );
-void fnTrayIconTaskbarCreated( HWND hwnd );
-int fnTrayIconUpdate( HICON hNewIcon, const TCHAR *szNewTip, const char *szPreferredProto, int isBase );
-void fnTrayIconUpdateBase ( const char *szChangedProto );
-void fnTrayIconUpdateWithImageList ( int iImage, const TCHAR *szNewTip, char *szPreferredProto );
+void fnTrayIconSetToBase (char *szPreferredProto);
+void fnTrayIconTaskbarCreated(HWND hwnd);
+int fnTrayIconUpdate(HICON hNewIcon, const TCHAR *szNewTip, const char *szPreferredProto, int isBase);
+void fnTrayIconUpdateBase (const char *szChangedProto);
+void fnTrayIconUpdateWithImageList (int iImage, const TCHAR *szNewTip, char *szPreferredProto);
VOID CALLBACK fnTrayCycleTimerProc(HWND hwnd, UINT message, UINT_PTR idEvent, DWORD dwTime);
/* clui.c */
-LRESULT CALLBACK fnContactListWndProc ( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam );
-void fnLoadCluiGlobalOpts( void );
+LRESULT CALLBACK fnContactListWndProc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
+void fnLoadCluiGlobalOpts(void);
void fnCluiProtocolStatusChanged(int, const char*);
void fnDrawMenuItem(DRAWITEMSTRUCT *dis, HICON hIcon, HICON eventIcon);
/* contact.c */
-void fnChangeContactIcon ( HANDLE hContact, int iIcon, int add );
-void fnLoadContactTree ( void );
-int fnCompareContacts ( const struct ClcContact *contact1, const struct ClcContact *contact2);
-void fnSortContacts ( void );
-int fnSetHideOffline ( WPARAM wParam, LPARAM lParam );
+void fnChangeContactIcon (HANDLE hContact, int iIcon, int add);
+void fnLoadContactTree (void);
+int fnCompareContacts (const struct ClcContact *contact1, const struct ClcContact *contact2);
+void fnSortContacts (void);
+int fnSetHideOffline (WPARAM wParam, LPARAM lParam);
/* docking.c */
-int fnDocking_ProcessWindowMessage ( WPARAM wParam, LPARAM lParam );
+int fnDocking_ProcessWindowMessage (WPARAM wParam, LPARAM lParam);
/* group.c */
-TCHAR* fnGetGroupName ( int idx, DWORD* pdwFlags );
-int fnRenameGroup ( int groupID, TCHAR* newName );
+TCHAR* fnGetGroupName (int idx, DWORD* pdwFlags);
+int fnRenameGroup (int groupID, TCHAR* newName);
/* keyboard.c */
-int fnHotKeysRegister ( HWND hwnd );
-void fnHotKeysUnregister ( HWND hwnd );
-int fnHotKeysProcess ( HWND hwnd, WPARAM wParam, LPARAM lParam );
-int fnHotkeysProcessMessage ( WPARAM wParam, LPARAM lParam );
+int fnHotKeysRegister (HWND hwnd);
+void fnHotKeysUnregister (HWND hwnd);
+int fnHotKeysProcess (HWND hwnd, WPARAM wParam, LPARAM lParam);
+int fnHotkeysProcessMessage (WPARAM wParam, LPARAM lParam);