1 /* 2 SANE EPSON backend 3 Copyright (C) 2001 SEIKO EPSON Corporation 4 5 Date Author Reason 6 06/01/2001 N.Sasaki New 7 8 This file is part of the `iscan' program. 9 10 This program is free software; you can redistribute it and/or modify 11 it under the terms of the GNU General Public License as published by 12 the Free Software Foundation; either version 2 of the License, or 13 (at your option) any later version. 14 15 This program is distributed in the hope that it will be useful, 16 but WITHOUT ANY WARRANTY; without even the implied warranty of 17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 GNU General Public License for more details. 19 20 You should have received a copy of the GNU General Public License 21 along with this program; if not, write to the Free Software 22 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 23 24 As a special exception, the copyright holders give permission 25 to link the code of this program with the esmod library and 26 distribute linked combinations including the two. You must obey 27 the GNU General Public License in all respects for all of the 28 code used other then esmod. 29 */ 30 31 #ifndef ___PISA_CONFIGURATION_H 32 #define ___PISA_CONFIGURATION_H 33 34 #include <gtk/gtk.h> 35 #include <pisa_enums.h> 36 37 class config_window 38 { 39 public: 40 41 // operation 42 int init ( void ); 43 GtkWidget * create_window ( GtkWidget * parent ); 44 int close_window ( int destroy ); 45 46 void update_filename ( void ); 47 48 int m_ok; 49 char m_cmd [ 256 ]; 50 51 private: 52 53 // operation 54 GtkWidget * create_pips_path ( void ); 55 GtkWidget * create_action_area ( void ); 56 57 // attribute 58 GtkWidget * m_widget [ WG_CONFIG_NUM ]; 59 60 }; 61 62 #endif // ___PISA_CONFIGURATION_H 63 64