CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
Win32FileSystem.hpp
Go to the documentation of this file.
1
2
3//
4// CeresEngine - A game development framework
5//
6// Created by Rogiel Sulzbach.
7// Copyright (c) 2018-2023 Rogiel Sulzbach. All rights reserved.
8//
9
10#pragma once
11
12#include "Forward.hpp"
13
16
19
21
22#include <memory>
23
24namespace CeresEngine {
25
48
49} // namespace CeresEngine
A context for function object execution.
Definition ExecutionContext.hpp:90
Handle for a file or directory.
Definition FileHandle.hpp:46
Watcher that reports on changes of files or directories.
Definition FileWatcher.hpp:41
An implementation of a local file system.
Definition LocalFileSystem.hpp:17
Representation of the local file system on Windows.
Definition Win32FileSystem.hpp:27
Win32FileSystem()
Creates a new Win32FileSystem instance.
FileHandle open(StringView path) final
Opens a file or directory in file system.
~Win32FileSystem() final
Destroys the Win32FileSystem instance.
FileWatcher createFileWatcher(ExecutionContext &executionContext, const FileHandle &directory, const FileEvents &events=FileEvent::Default, bool recursive=true) final
Watches a directory for changes.
Definition Application.hpp:19
FileEvent
Type of event on the file system.
Definition FileWatcher.hpp:28
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25