mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-01 03:17:39 +01:00
[Submit] Temporarily removed the new open_file_dialog objective-cc implementationn due to error compilation.
This commit is contained in:
parent
00115c072f
commit
e835dc803c
1 changed files with 4 additions and 2 deletions
|
|
@ -42,8 +42,9 @@ ARDOUR::open_file_dialog (std::string initial_path, std::string title)
|
|||
return stdPath;
|
||||
}
|
||||
|
||||
/*
|
||||
std::vector<std::string>
|
||||
ARDOUR::open_file_dialog (std::vector<std::string> extantions, std::string initial_path, std::string title)
|
||||
ARDOUR::open_file_dialog (std::vector<std::string> extentions, std::string initial_path, std::string title)
|
||||
{
|
||||
NSString *nsTitle = [NSString stringWithUTF8String:title.c_str()];
|
||||
//NP: we should find some gentle way to do this
|
||||
|
|
@ -51,7 +52,7 @@ ARDOUR::open_file_dialog (std::vector<std::string> extantions, std::string initi
|
|||
|
||||
id fileTypesArray = [NSMutableArray new];
|
||||
|
||||
for (auto str : extantions) {
|
||||
for (auto str:extentions) {
|
||||
id nsstr = [NSString stringWithUTF8String:str.c_str()];
|
||||
[fileTypesArray addObject:nsstr];
|
||||
}
|
||||
|
|
@ -71,6 +72,7 @@ ARDOUR::open_file_dialog (std::vector<std::string> extantions, std::string initi
|
|||
// Returns pathes to selected files
|
||||
return stdPathes;
|
||||
}
|
||||
*/
|
||||
|
||||
std::string
|
||||
ARDOUR::save_file_dialog (std::string initial_path, std::string title)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue