summaryrefslogtreecommitdiffhomepage
path: root/dev/Usr
diff options
context:
space:
mode:
Diffstat (limited to 'dev/Usr')
-rw-r--r--dev/Usr/LibCF/Object.h2
-rw-r--r--dev/Usr/LibCF/String.h (renamed from dev/Usr/LibWM/Core.h)5
-rw-r--r--dev/Usr/LibGUI/.keep0
-rw-r--r--dev/Usr/LibWM/WindowConnection.h31
4 files changed, 36 insertions, 2 deletions
diff --git a/dev/Usr/LibCF/Object.h b/dev/Usr/LibCF/Object.h
index c7369ee3..4899661e 100644
--- a/dev/Usr/LibCF/Object.h
+++ b/dev/Usr/LibCF/Object.h
@@ -9,6 +9,8 @@
#include <LibCF/Core.h>
+#define CF_OBJECT : public LibCF::CFObject
+
namespace LibCF
{
class CFObject;
diff --git a/dev/Usr/LibWM/Core.h b/dev/Usr/LibCF/String.h
index 83a2443e..457a999d 100644
--- a/dev/Usr/LibWM/Core.h
+++ b/dev/Usr/LibCF/String.h
@@ -11,5 +11,6 @@
namespace LibCF
{
- class CFWindowConnection_;
-} // namespace LibCF \ No newline at end of file
+ class CFString;
+
+} \ No newline at end of file
diff --git a/dev/Usr/LibGUI/.keep b/dev/Usr/LibGUI/.keep
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/dev/Usr/LibGUI/.keep
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 <LibCF/Object.h>
+#include <LibCF/Array.h>
+
+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<VoidPtr, kMaxPeers> mConnPeers;
+ };
+} // namespace LibCF \ No newline at end of file