diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/delphi/m_database.inc | 3 | ||||
| -rw-r--r-- | include/m_database.h | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/include/delphi/m_database.inc b/include/delphi/m_database.inc index e7c1d5499a..909bc1ead5 100644 --- a/include/delphi/m_database.inc +++ b/include/delphi/m_database.inc @@ -297,8 +297,7 @@ function DbEvent_RegisterType(et:PDBEVENTTYPEDESCR) : int; stdcall; external App function DbEvent_GetType(szModule:PAnsiChar; eventType:int) : PDBEVENTTYPEDESCR; stdcall; external AppDll;
-function DbEvent_GetTextA(dbei:PDBEVENTINFO; codepage:int) : PAnsiChar; stdcall; external AppDll;
-function DbEvent_GetTextW(dbei:PDBEVENTINFO) : PWideChar; stdcall; external AppDll;
+function DbEvent_GetText(dbei:PDBEVENTINFO) : PWideChar; stdcall; external AppDll;
function DbEvent_GetIcon(dbei:PDBEVENTINFO; flags:int) : HICON; stdcall; external AppDll;
diff --git a/include/m_database.h b/include/m_database.h index c967d6700e..1a8b5b3dd0 100644 --- a/include/m_database.h +++ b/include/m_database.h @@ -533,8 +533,7 @@ __forceinline MCONTACT DbGetAuthEventContact(DBEVENTINFO *dbei) // Function returns a pointer to a string in the required format.
// This string should be freed by a call of mir_free
-EXTERN_C MIR_APP_DLL(char*) DbEvent_GetTextA(const DBEVENTINFO *dbei, int codepage);
-EXTERN_C MIR_APP_DLL(wchar_t*) DbEvent_GetTextW(const DBEVENTINFO *dbei);
+EXTERN_C MIR_APP_DLL(wchar_t*) DbEvent_GetText(const DBEVENTINFO *dbei);
/////////////////////////////////////////////////////////////////////////////////////////
// Retrieves the event's icon
@@ -737,6 +736,7 @@ namespace DB bool isAlertable() const; // should raise SRMM window
wchar_t* getString(const char *str) const;
+ wchar_t* getText() const;
void addReaction(const char *emoji);
void delReaction(const char *emoji);
|
