24 lines
525 B
C++
24 lines
525 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
#include <functional>
|
|
|
|
struct FilePickerSettings {
|
|
|
|
enum class PickerType {
|
|
NONE, OPEN, SAVE
|
|
};
|
|
struct FileDescription {
|
|
std::string ext, desc;
|
|
};
|
|
|
|
char filler [0x20]; // 20
|
|
std::function<void (FilePickerSettings&, std::string)> pickedCallback; // 30
|
|
std::vector<FileDescription> fileDescriptions; // 3c
|
|
int filler3; // 40
|
|
PickerType type; // 44
|
|
std::string defaultFileName; // 48
|
|
std::string pickerTitle; // 52
|
|
|
|
}; |