2012-12-28 14:48:19 +00:00
|
|
|
// CocoaFileDialog.hxx - file dialog implemented using Cocoa
|
|
|
|
|
|
|
|
#ifndef FG_COCOA_FILE_DIALOG_HXX
|
|
|
|
#define FG_COCOA_FILE_DIALOG_HXX 1
|
|
|
|
|
|
|
|
#include <GUI/FileDialog.hxx>
|
|
|
|
|
|
|
|
class CocoaFileDialog : public FGFileDialog
|
|
|
|
{
|
|
|
|
public:
|
2013-01-19 16:23:05 +00:00
|
|
|
CocoaFileDialog(FGFileDialog::Usage use);
|
2012-12-28 14:48:19 +00:00
|
|
|
|
|
|
|
virtual ~CocoaFileDialog();
|
|
|
|
|
|
|
|
virtual void exec();
|
2013-01-19 16:23:05 +00:00
|
|
|
virtual void close();
|
2012-12-28 14:48:19 +00:00
|
|
|
private:
|
|
|
|
class CocoaFileDialogPrivate;
|
|
|
|
std::auto_ptr<CocoaFileDialogPrivate> d;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // FG_COCOA_FILE_DIALOG_HXX
|