From 5c319a1b4d08ce784f164aa5d073af71336e1547 Mon Sep 17 00:00:00 2001 From: Amlal Date: Fri, 25 Oct 2024 16:32:41 +0200 Subject: IMP: Include .idl files into QT Creator. Signed-off-by: Amlal --- dev/comm/xpcom_sms.idl | 11 +++++------ dev/crt/exit.h | 2 ++ 2 files changed, 7 insertions(+), 6 deletions(-) (limited to 'dev') diff --git a/dev/comm/xpcom_sms.idl b/dev/comm/xpcom_sms.idl index d6e69a88..6c9e46fa 100644 --- a/dev/comm/xpcom_sms.idl +++ b/dev/comm/xpcom_sms.idl @@ -7,7 +7,7 @@ Purpose: SMS XPCOM interface ------------------------------------------- */ -#ifndef __NDK__ +#ifndef __TOOLCHAINKIT__ #define object class #define protocol class #define interface private @@ -22,13 +22,12 @@ Purpose: SMS XPCOM interface #define _Input #define clsid(X) -#warning ! You may be using the clang version of the NDK, please be cautious that some features mayn't be present. ! -#endif // !__NDK__ +#warning !! You may be using the clang version of the ToolchainKit, please be cautious that some features mayn't be present. !! +#endif // ifndef __TOOLCHAINKIT__ -clsid("0943A614-0201-4107-8F8D-E909DF7F53C9") -protocol ISMS +interface("0943A614-0201-4107-8F8D-E909DF7F53C9") ISMS { -interface: +interface_public: interface_method INT32 SendMessage(_Input CONST CHAR* bytes, _Input SIZE_T bytes_size); interface_method INT32 RecvMessage(_Output CONST CHAR** bytes_in, _Input SIZE_T bytes_size); }; diff --git a/dev/crt/exit.h b/dev/crt/exit.h index 69b046c4..9bf9928f 100644 --- a/dev/crt/exit.h +++ b/dev/crt/exit.h @@ -6,6 +6,8 @@ #pragma once +#include + extern "C" int exit(int code); /// @brief Standard C++ namespace -- cgit v1.2.3