00001 /* 00002 00003 umesh2dgui, a GUI for umesh2d grid generator 00004 00005 Copyright (C) 2008 Gabriele Dini Ciacci 00006 00007 This program is free software; you can redistribute it and/or modify 00008 it under the terms of the GNU General Public License as published by 00009 the Free Software Foundation; either version 2 of the License, or 00010 (at your option) any later version. 00011 00012 This program is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 GNU General Public License for more details. 00016 00017 You should have received a copy of the GNU General Public License 00018 along with this program; if not, write to the Free Software 00019 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00020 00021 */ 00022 00023 #ifndef U2D_FILE_OUTPUT_H 00024 #define U2D_FILE_OUTPUT_H 00025 00026 #include <string> 00027 #include <exceptions.h> 00028 00029 using std::string; 00030 00031 class u2d_File_Output { 00032 public: 00033 virtual void output() throw (u2d_IO_Exception &) = 0; 00034 virtual void set_filename(string filename) = 0; 00035 virtual string get_filename() = 0; 00036 }; 00037 00038 #endif // U2D_FILE_OUTPUT_H