/* $Id: gspeakersfilechooser.h,v 1.2 2004/06/22 13:34:21 sumpan Exp $ GSpeakersFileChooserDialog Copyright (C) 2004 Daniel Sundberg This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef __GSPEAKERS_FILECHOOSER #define __GSPEAKERS_FILECHOOSER #include class GSpeakersFileChooserDialog { public: enum { FILE_CHOOSER_OPEN, FILE_CHOOSER_SAVE, FILE_CHOOSER_CANCEL}; GSpeakersFileChooserDialog(const Glib::ustring& title, Gtk::FileChooserAction action = Gtk::FILE_CHOOSER_ACTION_OPEN, const std::string& default_filename = ""); Glib::ustring& get_filename(); private: Glib::ustring m_filename; Gtk::FileChooserDialog *m_file_chooser; }; #endif