diff options
| author | Amlal <amlal@el-mahrouss-logic.com> | 2024-10-25 16:32:41 +0200 |
|---|---|---|
| committer | Amlal <amlal@el-mahrouss-logic.com> | 2024-10-25 16:32:41 +0200 |
| commit | 5c319a1b4d08ce784f164aa5d073af71336e1547 (patch) | |
| tree | 79fa9f1cd0b719fc2065b7fe3282003ab2d6a401 | |
| parent | d1ce7e39bec8e1ecde3db1970896a7846f6e8c3a (diff) | |
IMP: Include .idl files into QT Creator.
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
| -rw-r--r-- | dev/comm/xpcom_sms.idl | 11 | ||||
| -rw-r--r-- | dev/crt/exit.h | 2 | ||||
| -rw-r--r-- | zka-dev.files | 1 |
3 files changed, 8 insertions, 6 deletions
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 <crt/defines.h> + extern "C" int exit(int code); /// @brief Standard C++ namespace diff --git a/zka-dev.files b/zka-dev.files index de91acf9..41b642cb 100644 --- a/zka-dev.files +++ b/zka-dev.files @@ -14,6 +14,7 @@ dev/crt/base_exception.h dev/crt/crtx64.json dev/crt/defines.h dev/crt/exit.h +dev/comm/xpcom_sms.idl dev/crt/math.h dev/crt/src/alloca.cc dev/crt/src/base_exception.cc |
