mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-21 14:16:31 +01:00
28 lines
626 B
C++
28 lines
626 B
C++
//
|
|
// OpenFileDialogProxy.h
|
|
// Tracks
|
|
//
|
|
// Created by User on 5/12/14.
|
|
//
|
|
//
|
|
|
|
#include <string>
|
|
|
|
#ifndef Tracks_OpenFileDialogProxy_h
|
|
#define Tracks_OpenFileDialogProxy_h
|
|
|
|
// This is the C "trampoline" function that will be used
|
|
// to invoke a specific Objective-C method FROM C++
|
|
namespace ARDOUR
|
|
{
|
|
#ifdef __APPLE__
|
|
std::string SaveFileDialog(std::string title = "");
|
|
std::string OpenFileDialog(std::string title = "");
|
|
#endif
|
|
|
|
#ifdef _WIN32
|
|
bool SaveFileDialog(std::string& fileName, std::string title = "Save");
|
|
bool OpenFileDialog(std::string& fileName, std::string title = "Open");
|
|
#endif
|
|
}
|
|
#endif
|