From 421db65331663304466577b7187780d9eba18077 Mon Sep 17 00:00:00 2001 From: Amlal Date: Sat, 28 Sep 2024 19:13:46 +0200 Subject: 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 --- dev/sci/makefile | 2 +- dev/sci/sci.json | 2 +- dev/sci/source_deploy.xml | 3 --- dev/sci/xpcom_sms.idl | 34 ---------------------------------- 4 files changed, 2 insertions(+), 39 deletions(-) delete mode 100644 dev/sci/xpcom_sms.idl (limited to 'dev/sci') 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 @@ - src/*.cxx - *.drawio *.hxx - *.inl *.idl 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); -}; -- cgit v1.2.3