24 lines
489 B
C++
24 lines
489 B
C++
#pragma once
|
|
|
|
#include "string.h"
|
|
#include <vector>
|
|
#include <functional>
|
|
|
|
struct FilePickerSettings {
|
|
|
|
enum class PickerType {
|
|
NONE, OPEN, SAVE
|
|
};
|
|
struct FileDescription {
|
|
mcpe::string ext, desc;
|
|
};
|
|
|
|
char filler [0x20];
|
|
std::function<void (FilePickerSettings&, mcpe::string)> pickedCallback;
|
|
std::vector<FileDescription> fileDescriptions;
|
|
int filler3;
|
|
PickerType type;
|
|
mcpe::string defaultFileName;
|
|
mcpe::string pickerTitle;
|
|
|
|
}; |