Canola
0.8.D001
|
00001 // 00002 // canola - canon canola 1614p emulator 00003 // Copyright (C) 2012 Peter Miller 00004 // 00005 // This program is free software; you can redistribute it and/or modify 00006 // it under the terms of the GNU General Public License, version 3, as 00007 // published by the Free Software Foundation. 00008 // 00009 // This program is distributed in the hope that it will be useful, 00010 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 // General Public License for more details. 00013 // 00014 // You should have received a copy of the GNU General Public License along 00015 // with this program. If not, see <http://www.gnu.org/licenses/>. 00016 // 00017 00018 #ifndef CANOLA_DIALOG_PREFERENCES_H 00019 #define CANOLA_DIALOG_PREFERENCES_H 00020 00021 #include <lib/ac/stddef.h> 00022 #include <gtkmm.h> 00023 00024 class calculator_gnome; // forward 00025 00030 class dialog_preferences: 00031 public Gtk::Dialog 00032 { 00033 public: 00037 virtual ~dialog_preferences(); 00038 00045 dialog_preferences(calculator_gnome *subject); 00046 00047 void set_animate_card_reader(bool value); 00048 bool get_animate_card_reader(void); 00049 void set_strict_memory_numbers(bool value); 00050 bool get_strict_memory_numbers(void); 00051 00052 private: 00057 calculator_gnome *subject; 00058 00059 Gtk::VBox layout; 00060 Gtk::CheckButton animate_card_reader; 00061 Gtk::CheckButton strict_memory_numbers; 00062 00067 dialog_preferences(); 00068 00076 dialog_preferences(const dialog_preferences &rhs); 00077 00085 dialog_preferences &operator=(const dialog_preferences &rhs); 00086 }; 00087 00088 // vim: set ts=8 sw=4 et : 00089 #endif // CANOLA_DIALOG_PREFERENCES_H