diff options
author | George Hazan <george.hazan@gmail.com> | 2014-03-09 15:00:43 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-03-09 15:00:43 +0000 |
commit | 8d2b4094f891d20381f65e3180b2b053830f3050 (patch) | |
tree | 04cb5010af323b37ec67b75fadbeb34ff9c28d9a /src/modules/metacontacts/metacontacts.h | |
parent | ad0169e0110232390474d23274bdc5dc2d385a9a (diff) |
- unused options removed
- duplicated events in history fixed
git-svn-id: http://svn.miranda-ng.org/main/trunk@8504 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/metacontacts/metacontacts.h')
-rw-r--r-- | src/modules/metacontacts/metacontacts.h | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/src/modules/metacontacts/metacontacts.h b/src/modules/metacontacts/metacontacts.h index 2d7155b73d..d4dab57a54 100644 --- a/src/modules/metacontacts/metacontacts.h +++ b/src/modules/metacontacts/metacontacts.h @@ -33,9 +33,6 @@ INT_PTR TranslateMenuFunc(MCONTACT hContact, int i); void InitMenus();
extern int mcStatus;
-__forceinline bool IsMeta(DBCachedContact *cc) { return cc->nSubs != -1; }
-__forceinline bool IsSub(DBCachedContact *cc) { return cc->parentID != 0; }
-
INT_PTR Meta_Convert(WPARAM wParam,LPARAM lParam);
INT_PTR Meta_AddTo(WPARAM wParam,LPARAM lParam);
INT_PTR Meta_Edit(WPARAM wParam,LPARAM lParam);
@@ -43,8 +40,6 @@ INT_PTR Meta_Delete(WPARAM wParam,LPARAM lParam); INT_PTR Meta_Default(WPARAM wParam,LPARAM lParam);
INT_PTR Meta_ForceDefault(WPARAM wParam,LPARAM lParam);
-INT_PTR Meta_IsEnabled();
-
INT_PTR Meta_OnOff(WPARAM wParam, LPARAM lParam);
int Meta_ModifyMenu(WPARAM wParam,LPARAM lParam);
BOOL Meta_Assign(MCONTACT src, MCONTACT dest, BOOL set_as_default);
@@ -55,7 +50,6 @@ int Meta_GetContactNumber(DBCachedContact *cc, MCONTACT hContact); int Meta_HideMetaContacts(int hide);
int Meta_SuppressStatus(int suppress);
int Meta_CopyContactNick(DBCachedContact *cc, MCONTACT hContact);
-void Meta_CopyData(DBCachedContact *cc);
int Meta_SetAllNicks();
int Meta_SwapContacts(DBCachedContact *cc, int contact_number1, int contact_number2);
@@ -76,7 +70,6 @@ INT_PTR Meta_LoadIcon(WPARAM wParam,LPARAM lParam); INT_PTR Meta_SetStatus(WPARAM wParam,LPARAM lParam);
INT_PTR Meta_GetStatus(WPARAM wParam,LPARAM lParam);
INT_PTR Meta_SendMessage(WPARAM wParam,LPARAM lParam);
-INT_PTR Meta_RecvMessage(WPARAM wParam,LPARAM lParam);
INT_PTR Meta_ContactMenuFunc(WPARAM wParam, LPARAM lParam);
void Meta_InitServices();
@@ -88,18 +81,9 @@ enum CListDisplayNameType {CNNT_NICK = 0, CNNT_DISPLAYNAME = 1}; struct MetaOptions
{
- BYTE set_default_on_recv;
- BYTE always_use_default;
- BYTE suppress_status;
- BYTE subcontact_windows;
- BYTE metahistory;
- BYTE subhistory;
- BYTE copydata;
- BYTE lockHandle;
- BYTE temp_default;
- BYTE flash_meta_message_icon;
- BYTE copy_userinfo;
- BYTE use_proto_recv;
+ bool bEnabled;
+ bool bLockHandle;
+ bool bSuppressStatus;
int menu_contact_label;
int menu_function;
@@ -131,7 +115,6 @@ HICON LoadIconEx(IconIndex i); HANDLE GetIconHandle(IconIndex i);
extern HANDLE hEventDefaultChanged, hEventForceSend, hEventUnforceSend, hSubcontactsChanged;
-
extern POINT menuMousePoint;
#define MAX_PROTOCOLS 20
|