Implement resource server
This commit is contained in:
parent
3addd01f54
commit
718679c13b
14 changed files with 332 additions and 232 deletions
12
src/rutile/core/common.cppm
Normal file
12
src/rutile/core/common.cppm
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
module;
|
||||
|
||||
export module rutile.core.common;
|
||||
|
||||
import std;
|
||||
|
||||
export namespace rutile
|
||||
{
|
||||
// Alias for shared_ptr to be used for shared resource pointers (see ResourceServer)
|
||||
template <typename T>
|
||||
using ResourcePtr = std::shared_ptr<T>;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue