summaryrefslogtreecommitdiffhomepage
path: root/dev/comm
diff options
context:
space:
mode:
authorAmlal <amlal@el-mahrouss-logic.com>2024-09-28 19:13:46 +0200
committerAmlal <amlal@el-mahrouss-logic.com>2024-09-28 19:13:46 +0200
commit421db65331663304466577b7187780d9eba18077 (patch)
tree3c7c4dc68537935b8cf98313e6a5bfe51786b7d2 /dev/comm
parentb6e416c9986bb545956a642d626e6aafd54f3b76 (diff)
feat: Add common XPCOM controls directory, restructure project, and introduce API breaking changes
- Added a new directory for common XPCOM controls to organize reusable components. - Restructured project layout for better modularity and maintainability. - Introduced API breaking changes in the process, requiring adjustments for backward compatibility. Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'dev/comm')
-rw-r--r--dev/comm/xpcom_sms.idl31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev/comm/xpcom_sms.idl b/dev/comm/xpcom_sms.idl
new file mode 100644
index 00000000..27736153
--- /dev/null
+++ b/dev/comm/xpcom_sms.idl
@@ -0,0 +1,31 @@
+/* -------------------------------------------
+
+Copyright ZKA Technologies.
+
+Purpose: SMS XPCOM interface
+
+------------------------------------------- */
+
+#ifndef __NDK__
+#define object class
+#define protocol class
+#define interface private
+#define interface_method
+#define CONST const
+#define CHAR char
+#define INT32 __INT32_TYPE__
+#define SIZE_T __SIZE_TYPE__
+#define _Output
+#define _Input
+#define clsid(X)
+
+#warning ! You may be using the clang version of the ZKAKit, please be cautious that some features mayn't be present. !
+#endif // !__NDK__
+
+clsid("0943A614-0201-4107-8F8D-E909DF7F53C9")
+protocol ISMS
+{
+interface:
+ 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);
+};