mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-23 23:17:46 +01:00
[Summary] Add default new_session and open_saved_session path.
[Reviewed] GZharun [git-p4: depot-paths = "//Abdaw/dev_main/tracks/": change = 461852]
This commit is contained in:
parent
302e098f7c
commit
8123974198
10 changed files with 155 additions and 31 deletions
|
|
@ -16,14 +16,16 @@ 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 = "Save");
|
||||
std::string OpenFileDialog(std::string title = "Open");
|
||||
std::string SaveFileDialog(std::string path = "", std::string title = "Save");
|
||||
std::string OpenFileDialog(std::string path = "", std::string title = "Open");
|
||||
std::string ChooseFolderDialog(std::string path = "", std::string title = "Choose Folder");
|
||||
#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");
|
||||
bool ChooseFolderDialog(std::string& fileName, std::string title = "Choose Folder");
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue