00001 /*************************************************************************** 00002 preferences.h - description 00003 ------------------- 00004 begin : Wed Jan 29 2003 00005 copyright : (C) 2003 by Michael Otto 00006 email : Michael.Otto@saskathex.de 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 00019 #ifndef PREFERENCES_H 00020 #define PREFERENCES_H 00021 00025 class Preferences { 00026 00027 private: 00028 bool autoSaveOnExit; 00029 bool saveDialogOnExit; 00030 00031 public: 00032 Preferences(); 00033 ~Preferences(); 00034 00035 00036 bool getAutoSaveOnExit() const; 00037 bool getSaveDialogOnExit() const; 00038 void setAutoSaveOnExit(bool autoSaveOnExit); 00039 void setSaveDialogOnExit(bool saveDialogOnExit); 00040 00041 }; 00042 00043 #endif