diff options
Diffstat (limited to 'include/delphi')
-rw-r--r-- | include/delphi/custom_api.inc | 1 | ||||
-rw-r--r-- | include/delphi/m_api.pas | 6 | ||||
-rw-r--r-- | include/delphi/m_crypto.inc | 2 | ||||
-rw-r--r-- | include/delphi/m_database.inc | 8 | ||||
-rw-r--r-- | include/delphi/m_helpers.inc | 4 |
5 files changed, 11 insertions, 10 deletions
diff --git a/include/delphi/custom_api.inc b/include/delphi/custom_api.inc index 104c02cd76..e94fc29803 100644 --- a/include/delphi/custom_api.inc +++ b/include/delphi/custom_api.inc @@ -1,5 +1,4 @@ {$include m_actman.inc}
-{$include m_folders.inc}
{$include m_ieview.inc}
{$include m_msg_buttonsbar.inc}
{$include m_proto_listeningto.inc}
diff --git a/include/delphi/m_api.pas b/include/delphi/m_api.pas index 08142e8cc8..a44181771c 100644 --- a/include/delphi/m_api.pas +++ b/include/delphi/m_api.pas @@ -19,11 +19,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
}
-{$A+,H+}
-{$IFNDEF VER130} // skip for delphi 5
- {$IFDEF WIN32}{$A4}{$ENDIF}
- {$IFDEF WIN64}{$A8}{$ENDIF}
-{$ENDIF}
+{$A+,H+,A8}
{$UNDEF AllowInline}
unit m_api;
diff --git a/include/delphi/m_crypto.inc b/include/delphi/m_crypto.inc index 8df15a3397..12a83b8394 100644 --- a/include/delphi/m_crypto.inc +++ b/include/delphi/m_crypto.inc @@ -1,7 +1,7 @@ {
Miranda NG: the free IM client for Microsoft* Windows*
-Copyright (C) 2012-24 Miranda NG team (https://miranda-ng.org)
+Copyright (C) 2012-25 Miranda NG team (https://miranda-ng.org)
all portions of this codebase are copyrighted to the people
listed in contributors.txt.
diff --git a/include/delphi/m_database.inc b/include/delphi/m_database.inc index 909bc1ead5..aecccbf82e 100644 --- a/include/delphi/m_database.inc +++ b/include/delphi/m_database.inc @@ -28,6 +28,12 @@ const DBEF_RTL = 8; // event contains the right-to-left aligned text
DBEF_UTF = 16; // event contains a text in utf-8
DBEF_ENCRYPTED = 32; // event is encrypted (never reported outside a driver)
+ DBEF_HAS_ID = 64;
+ DBEF_SECURE = 128;
+ DBEF_STRONG = 256;
+ DBEF_BOOKMARK = 512;
+ DBEF_JSON = 1024;
+ DBEF_MSEC = 2048;
const
EVENTTYPE_MESSAGE = 0;
@@ -40,7 +46,7 @@ type PDBEVENTINFO = ^TDBEVENTINFO;
TDBEVENTINFO = record
szModule : PAnsiChar; // module that 'owns' this event and controls the data format
- timestamp: dword; // timestamp in UNIX time
+ timestamp: Int64; // timestamp in UNIX time
flags : dword; // the DBEF_* flags above
eventType: dword; // event type, such as message, can be module defined
hContact : TMCONTACT; // contact to which this event belongs
diff --git a/include/delphi/m_helpers.inc b/include/delphi/m_helpers.inc index d240073501..6906bd2d27 100644 --- a/include/delphi/m_helpers.inc +++ b/include/delphi/m_helpers.inc @@ -62,7 +62,7 @@ function Options_Open(group,page,tab:PWideChar):int_ptr; function _Srmm_AddButton(bbdi:pBBButton; pPlugin:Pointer) : integer; stdcall;
external AppDll name 'Srmm_AddButton';
-function _AddMainMenuItem(mi:PMO_MenuItem) : HGENMENU; stdcall;
+function _AddMainMenuItem(mi:PMO_MenuItem; pszProto:PAnsiChar) : HGENMENU; stdcall;
external AppDll name 'Menu_AddMainMenuItem';
function _AddContactMenuItem(mi:PMO_MenuItem; pszProto:PAnsiChar) : HGENMENU; stdcall;
@@ -260,7 +260,7 @@ end; function Menu_AddMainMenuItem(mi:PMO_MenuItem):HGENMENU;
begin
mi^.pPlugin:=@g_plugin;
- result:=_AddMainMenuItem(mi);
+ result:=_AddMainMenuItem(mi, nil);
end;
function Menu_AddContactMenuItem(mi:PMO_MenuItem):HGENMENU;
|