summaryrefslogtreecommitdiffhomepage
path: root/dev/Usr/LibWM
diff options
context:
space:
mode:
Diffstat (limited to 'dev/Usr/LibWM')
-rw-r--r--dev/Usr/LibWM/Core.h15
-rw-r--r--dev/Usr/LibWM/WindowConnection.h31
2 files changed, 31 insertions, 15 deletions
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 <LibCF/Object.h>
-
-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 <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