Little improvement of open file dialog on MacOS

[git-p4: depot-paths = "//Abdaw/dev_main/tracks/": change = 460387]
This commit is contained in:
Nikolay Polyanovskii 2014-05-14 05:11:52 -05:00
parent 916517776e
commit 31fea08743
2 changed files with 7 additions and 12 deletions

View file

@ -11,15 +11,16 @@
#include <string>
// This is the C "trampoline" function that will be used
// to invoke a specific Objective-C method FROM C++
namespace ARDOUR
{
// This is the C "trampoline" function that will be used
// to invoke a specific Objective-C method FROM C++
#ifdef __APPLE__
std::string SaveFileDialog(std::string title = "");
std::string OpenFileDialog(std::string title = "");
std::string SaveFileDialog(std::string title = "Save");
std::string OpenFileDialog(std::string title = "Open");
#endif
// OS Windows specific functions
#ifdef _WIN32
bool SaveFileDialog(std::string& fileName, std::string title = "Save");
bool OpenFileDialog(std::string& fileName, std::string title = "Open");