Add FileDialogWrapper to linux ShowOpenFileDialog
This commit is contained in:
@@ -51,11 +51,14 @@ class FileDialogWrapper {
|
|||||||
|
|
||||||
#elif defined(__linux__)
|
#elif defined(__linux__)
|
||||||
|
|
||||||
std::string ShowOpenFileDialog() {
|
class FileDialogWrapper {
|
||||||
// Linux-specific file dialog implementation using GTK
|
public:
|
||||||
// ...
|
static std::string ShowOpenFileDialog() {
|
||||||
return "file_path_linux";
|
// Linux-specific file dialog implementation using GTK
|
||||||
}
|
// ...
|
||||||
|
return "file_path_linux";
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
#else
|
#else
|
||||||
#error "Unsupported platform."
|
#error "Unsupported platform."
|
||||||
|
|||||||
Reference in New Issue
Block a user