20 lines
513 B
C++
Executable File
20 lines
513 B
C++
Executable File
/***
|
|
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
File: IPCSharedMemory.hpp
|
|
Date: 2022-4-14
|
|
Author: Reece
|
|
***/
|
|
#pragma once
|
|
|
|
namespace Aurora::IPC
|
|
{
|
|
struct IPCSharedMemory : IExportableIPC
|
|
{
|
|
virtual Memory::MemoryViewWrite GetMemory() = 0;
|
|
virtual AuUInt GetLength() = 0;
|
|
};
|
|
|
|
AUKN_SYM AuSPtr<IPCSharedMemory> NewSharedMemory(AuUInt length);
|
|
AUKN_SYM AuSPtr<IPCSharedMemory> ImportSharedMemory(const AuString &handle);
|
|
} |