summaryrefslogtreecommitdiff
path: root/include/m_protocols.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-03-23 00:08:50 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-03-23 00:08:50 +0300
commit9baf3a90829c501f0a134d3ef1864e08e134e616 (patch)
treec68d996fd17cab0cbc4e4e066fd5e01d60cdbf7f /include/m_protocols.h
parentf4d17396db574acd6f1fff5ab7997924c01ba1bc (diff)
forgotten service MS_PROTO_CREATEACCOUNT replaced with Proto_CreateAccount() call
Diffstat (limited to 'include/m_protocols.h')
-rw-r--r--include/m_protocols.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/include/m_protocols.h b/include/m_protocols.h
index c23cdb8cd4..e5713768e7 100644
--- a/include/m_protocols.h
+++ b/include/m_protocols.h
@@ -295,22 +295,9 @@ MIR_APP_DLL(void) Proto_EnumAccounts(int *nAccs, PROTOACCOUNT ***pAccs);
/////////////////////////////////////////////////////////////////////////////////////////
// creates new account
-// wParam = 0
-// lParam = (LPARAM)(ACC_CREATE*) account definition
// return value = PROTOACCOUNT* or NULL
-#define MS_PROTO_CREATEACCOUNT "Proto/CreateAccount"
-
-typedef struct tagACC_CREATE
-{
- const char *pszBaseProto;
- const char *pszInternal;
- const wchar_t *ptszAccountName;
-} ACC_CREATE;
-
-__forceinline PROTOACCOUNT* ProtoCreateAccount(ACC_CREATE *pAccountDef)
-{ return (PROTOACCOUNT*)CallService(MS_PROTO_CREATEACCOUNT, 0, (LPARAM)pAccountDef);
-}
+MIR_APP_DLL(PROTOACCOUNT*) Proto_CreateAccount(const char *pszInternal, const char *pszBaseProto, const wchar_t *ptszAccountName);
/////////////////////////////////////////////////////////////////////////////////////////
// retrieves an account's interface by its physical name (database module)