CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
LinuxPlatform.hpp
Go to the documentation of this file.
1//
2// CeresEngine - A game development framework
3//
4// Created by Rogiel Sulzbach.
5// Copyright (c) 2018-2022 Rogiel Sulzbach. All rights reserved.
6//
7
8#pragma once
9
11
13
14namespace CeresEngine {
15
18 public:
19 struct Pimpl;
20 friend struct Pimpl;
21
22 private:
25
26 public:
29
32
33 public:
39
40 public: // FileSystem
43 };
44
45} // namespace CeresEngine
Interface for accessing file systems.
Definition FileSystem.hpp:28
A platform implementation for linux.
Definition LinuxPlatform.hpp:17
UPtr< Pimpl > m
Hidden implementation class for the platform.
Definition LinuxPlatform.hpp:24
LinuxPlatform()
Creates a new Linux platform instance.
IFileSystem * getLocalFileSystem() const override
Gets the underlying platform local file system implementation.
friend struct Pimpl
Definition LinuxPlatform.hpp:20
~LinuxPlatform() noexcept override
Creates a new Linux platform instance.
UPtr< PlatformWindow > createWindow(const PlatformWindowDescriptor &descriptor) override
Creates a new platform window.
A platform implementation for POSIX-based systems.
Definition POSIXPlatform.hpp:15
Definition PlatformWindow.hpp:44
Definition Application.hpp:19
std::unique_ptr< T, Deleter > UPtr
UPtr is a smart pointer that owns and manages another object through a pointer and disposes of that o...
Definition SmartPtr.hpp:28
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25
A structure that describes how to create a new window.
Definition PlatformWindow.hpp:24