From dc33dd4b6722d3fb60aaf10a7472162b07180f9c Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Tue, 20 Aug 2024 18:59:10 +0200 Subject: [FIX] Did fixed the source code of SCI and some files also. Signed-off-by: Amlal El Mahrouss --- dev/SCI/ReadMe.md | 6 ++++-- dev/SCI/SCIBase.hxx | 4 +--- dev/SCI/scm.internal.inl | 6 +++--- dev/SCI/source_deploy.xml | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) (limited to 'dev/SCI') diff --git a/dev/SCI/ReadMe.md b/dev/SCI/ReadMe.md index b5f76a9f..72732c21 100644 --- a/dev/SCI/ReadMe.md +++ b/dev/SCI/ReadMe.md @@ -1,3 +1,5 @@ -# Official SCM implementation for New OS +# ZKA System Call Interface. -Read the specs for + information... \ No newline at end of file +System Call Interface and Component Interface. + +###### (c) ZKA Technologies, all rights reserved. diff --git a/dev/SCI/SCIBase.hxx b/dev/SCI/SCIBase.hxx index fca89a1a..1e79bbbc 100644 --- a/dev/SCI/SCIBase.hxx +++ b/dev/SCI/SCIBase.hxx @@ -17,8 +17,6 @@ Purpose: SCI/M core header file (C++) #define IMPORT_CXX extern "C++" #define IMPORT_C extern "C" -#define OBJECT_PATH "::\\" - typedef bool Bool; typedef void UInt0; @@ -76,7 +74,7 @@ public: }; template -class EventListenerInterface final : public ClsID +class EventListenerInterface : public ClsID { public: explicit EventListenerInterface() = default; diff --git a/dev/SCI/scm.internal.inl b/dev/SCI/scm.internal.inl index 8a5a85fa..af87230d 100644 --- a/dev/SCI/scm.internal.inl +++ b/dev/SCI/scm.internal.inl @@ -32,7 +32,7 @@ public: UnknownInterface& operator=(const UnknownInterface&) = default; UnknownInterface(const UnknownInterface&) = default; - + virtual SInt32 Release() = 0; virtual void RemoveRef() = 0; virtual UnknownInterface* AddRef() = 0; @@ -67,7 +67,7 @@ inline SInt32 ScmReleaseClass(TCLS* cls) } template -protocol EventListenerInterface final : public ClsID +protocol EventListenerInterface : public ClsID { public: explicit EventListenerInterface() = default; @@ -76,7 +76,7 @@ public: EventListenerInterface& operator=(const EventListenerInterface&) = default; EventListenerInterface(const EventListenerInterface&) = default; - virtual EventListenerInterface& operator +=(FnSign arg) + virtual EventListenerInterface& operator +=(FnSign arg) { this->AddEventListener(arg); return *this; diff --git a/dev/SCI/source_deploy.xml b/dev/SCI/source_deploy.xml index 7873c49f..5c8090f1 100644 --- a/dev/SCI/source_deploy.xml +++ b/dev/SCI/source_deploy.xml @@ -1,6 +1,6 @@ - *.cxx + Sources/*.cxx *.drawio *.internal.inl -- cgit v1.2.3