r5sdk/r5dev/thirdparty/cppnet/cppkore/SaveFileDialog.h
Kawe Mazidjatari 04bee896be Fix string/wstring type conflict
cppkore uses string/wstring as StringBase while we use std::string/std::wstring as string/wstring. Changed all types in cppkore to String/WString instead.
2022-05-21 21:51:35 +02:00

19 lines
441 B
C++

#pragma once
#include <cstdint>
#include "Control.h"
#include "ListBase.h"
#include "StringBase.h"
#include "DialogResult.h"
namespace Forms
{
// Handles a dialog prompt that asks for a file to save
class SaveFileDialog
{
public:
// Opens the dialog and allows the user to save one file
static String ShowFileDialog(const String& Title, const String& BasePath = "", const String& Filter = " |*.*", Control* Owner = nullptr);
};
}