From 8fc59848c87cc3cb05d9cf983f9dbd9d0e7aa390 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Wed, 12 Mar 2025 19:39:59 +0100 Subject: TQ-23: -> Implement CFWindowConnection_ structure. -> Need a controller class now. -> Refactor StringBuilder to KStringBuilder --- dev/Usr/LibWM/Core.h | 15 --------------- dev/Usr/LibWM/WindowConnection.h | 31 +++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 15 deletions(-) delete mode 100644 dev/Usr/LibWM/Core.h create mode 100644 dev/Usr/LibWM/WindowConnection.h (limited to 'dev/Usr/LibWM') diff --git a/dev/Usr/LibWM/Core.h b/dev/Usr/LibWM/Core.h deleted file mode 100644 index 83a2443e..00000000 --- a/dev/Usr/LibWM/Core.h +++ /dev/null @@ -1,15 +0,0 @@ - -/* ------------------------------------------- - - Copyright (C) 2025, Amlal EL Mahrouss, all rights reserved. - -------------------------------------------- */ - -#pragma once - -#include - -namespace LibCF -{ - class CFWindowConnection_; -} // namespace LibCF \ No newline at end of file diff --git a/dev/Usr/LibWM/WindowConnection.h b/dev/Usr/LibWM/WindowConnection.h new file mode 100644 index 00000000..3a3e39a6 --- /dev/null +++ b/dev/Usr/LibWM/WindowConnection.h @@ -0,0 +1,31 @@ + +/* ------------------------------------------- + + Copyright (C) 2025, Amlal EL Mahrouss, all rights reserved. + +------------------------------------------- */ + +#pragma once + +#include +#include + +namespace LibCF +{ + class CFWindowConnection_; + + class CFWindowConnection_ CF_OBJECT + { + public: + explicit CFWindowConnection_() = default; + virtual ~CFWindowConnection_() = default; + + SCI_COPY_DEFAULT(CFWindowConnection_); + + constexpr static SInt16 kMaxPeers = 16; + + Char mConnName[256] = {0}; + SInt32 mConnPeersCnt{0}; + CFArray mConnPeers; + }; +} // namespace LibCF \ No newline at end of file -- cgit v1.2.3