mirror of
https://github.com/elasota/Aerofoil.git
synced 2026-03-01 13:25:23 +00:00
21 lines
356 B
C
21 lines
356 B
C
|
|
#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);
|
||
|
|
};
|
||
|
|
}
|