summaryrefslogtreecommitdiffhomepage
path: root/dev/sci
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/sci
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/sci')
-rw-r--r--dev/sci/makefile2
-rw-r--r--dev/sci/sci.json2
-rw-r--r--dev/sci/source_deploy.xml3
-rw-r--r--dev/sci/xpcom_sms.idl34
4 files changed, 2 insertions, 39 deletions
diff --git a/dev/sci/makefile b/dev/sci/makefile
index 05593216..c66d7a78 100644
--- a/dev/sci/makefile
+++ b/dev/sci/makefile
@@ -5,7 +5,7 @@
CC=g++
FLAGS=-I../ -shared -fPIC -D__ZKA_SYMS__
-OUTPUT=sci.dll
+OUTPUT=zka-sci-cxx.dll
.PHONY: build-sci
build-sci:
diff --git a/dev/sci/sci.json b/dev/sci/sci.json
index 32a9238b..0b7c6bb7 100644
--- a/dev/sci/sci.json
+++ b/dev/sci/sci.json
@@ -3,7 +3,7 @@
"compiler_std": "c++20",
"headers_path": ["../"],
"sources_path": ["src/*.cxx"],
- "output_name": "sci.dll",
+ "output_name": "zka-sci-cxx.dll",
"compiler_flags": [
"-fPIC",
"-ffreestanding",
diff --git a/dev/sci/source_deploy.xml b/dev/sci/source_deploy.xml
index a392015c..fda225db 100644
--- a/dev/sci/source_deploy.xml
+++ b/dev/sci/source_deploy.xml
@@ -1,9 +1,6 @@
<SourceDeploy>
<HiddenFiles>
- <SourceFile>src/*.cxx</SourceFile>
- <SourceFile>*.drawio</SourceFile>
<SourceFile>*.hxx</SourceFile>
- <SourceFile>*.inl</SourceFile>
<SourceFile>*.idl</SourceFile>
</HiddenFiles>
</SourceDeploy>
diff --git a/dev/sci/xpcom_sms.idl b/dev/sci/xpcom_sms.idl
deleted file mode 100644
index ae37d285..00000000
--- a/dev/sci/xpcom_sms.idl
+++ /dev/null
@@ -1,34 +0,0 @@
-/* -------------------------------------------
-
-Copyright ZKA Technologies.
-
-File: rt.internal.inl
-Purpose: Base code of XPCOM.
-
-------------------------------------------- */
-
-/// @internal
-
-#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);
-};