ardour/gtk2_ardour/OpenFileDialogProxy.h
Nikolay Polyanovskii d60ef5bdb1 Refactoring of new dialog windows on Windows OS
[git-p4: depot-paths = "//Abdaw/dev_main/tracks/": change = 460092]
2014-05-13 08:53:17 -05:00

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