mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-29 09:57:44 +01:00
Little improvement of open file dialog on MacOS
[git-p4: depot-paths = "//Abdaw/dev_main/tracks/": change = 460387]
This commit is contained in:
parent
916517776e
commit
31fea08743
2 changed files with 7 additions and 12 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue