OpenAlbum 1.0.b

/home/manuel/PFC/open-album/OpenAlbum-Unix/error.h

00001 /*
00002     Copyright © 2011 Manuel Jesús de la Calle Brihuega   
00003  
00004     This file is part of Open Album.
00005 
00006     Open Album is free software: you can redistribute it and/or modify
00007     it under the terms of the GNU General Public License as published by
00008     the Free Software Foundation, either version 3 of the License, or
00009     (at your option) any later version.
00010 
00011     Open Album is distributed in the hope that it will be useful,
00012     but WITHOUT ANY WARRANTY; without even the implied warranty of
00013     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014     GNU General Public License for more details.
00015 
00016     You should have received a copy of the GNU General Public License
00017     along with open Album.  If not, see <http://www.gnu.org/licenses/>.
00018 */
00019 
00020 #ifndef _ERROR_
00021 #define _ERROR_
00022 
00023 #include <iostream>
00024 #include <fstream>
00025 #include <string>
00026 #include <QtGui>
00027 
00028 
00030 
00060 class Error{
00061     
00062         public:
00063             
00073         Error(int tipo_, const char *info_, QWidget *parent_);
00074         
00081         ~Error();
00082         
00088         void LanzarDialogo();
00089                         
00090         private:
00091             int tipo;
00092             const char *info;
00093             QWidget *parent;
00094 };
00095 
00096 #endif
 Todo Clases Archivos Funciones Variables