diff options
| author | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-18 12:35:19 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-18 12:39:24 +0100 |
| commit | 4c714f2c24c5df78bae2f35c42c73107de4c8c71 (patch) | |
| tree | b36d2498b8387909dac45c98097b8169636ad25a /Private/ObjectKit | |
| parent | a4bfc396a78ddd553de519ab927d8479d0c3c45d (diff) | |
unstable, unrelated: See below.
- :boom: Breaking changes in System.Core.dll
- Framebuffer, moved operator bool into c++ source file.
- Remove zlib in favor of our own Zip API.
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Private/ObjectKit')
| -rw-r--r-- | Private/ObjectKit/Object.hxx | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/Private/ObjectKit/Object.hxx b/Private/ObjectKit/Object.hxx index 9840a52e..dbb7944d 100644 --- a/Private/ObjectKit/Object.hxx +++ b/Private/ObjectKit/Object.hxx @@ -12,15 +12,25 @@ #define kObjectGlobalNamespaceSystem "HCORE_ROOT\\" #define kObjectGlobalNamespaceUser "HCORE_USER_ROOT\\" +enum { + kObjectTypeProcess, + kObjectTypeFile, + kObjectTypeDevice, + kObjectTypeNetwork, + kObjectTypeInvalid, + kObjectTypeCount, +}; + /// \brief Object handle. +/// \author Amlal El Mahrouss typedef struct Object final { - HCore::WideChar ObjectName[255]; + HCore::Char ObjectName[255]; HCore::Int32 ObjectType; - HCore::WideChar ObjectNamespace[255]; + HCore::Char ObjectNamespace[255]; HCore::Void(*Release)(struct Object* Self); HCore::IntPtr(*Invoke)(struct Object* Self, HCore::Int32 Sel, ...); - HCore::Void(*QueryInterface)(HCore::VoidPtr* Dst, HCore::SizeT SzDst, HCore::XRN::GUIDSequence GuidOf); + HCore::Void(*Query)(struct Object* Self, HCore::VoidPtr* Dst, HCore::SizeT SzDst, HCore::XRN::GUIDSequence GuidOf); } Object, *ObjectPtr; #define object_cast reinterpret_cast |
