mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 12:09:36 +00:00
Redo file prompts with in-game UI
This commit is contained in:
20
PortabilityLayer/FileBrowserUI.h
Normal file
20
PortabilityLayer/FileBrowserUI.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
|
||||
#include "VirtualDirectory.h"
|
||||
|
||||
class PLPasStr;
|
||||
|
||||
namespace PortabilityLayer
|
||||
{
|
||||
class FileBrowserUI
|
||||
{
|
||||
public:
|
||||
enum Mode
|
||||
{
|
||||
Mode_Save,
|
||||
Mode_Open,
|
||||
};
|
||||
|
||||
static bool Prompt(Mode mode, VirtualDirectory_t dirID, char *path, size_t &outPathLength, size_t pathCapacity, const PLPasStr &initialFileName, const PLPasStr &promptText);
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user