1 /* 2 GtkLP 3 graphical Frontends for non-administrative CUPS users. 4 5 Copyright (C) 1998-2004 Tobias Mueller 6 7 This program is free software; you can redistribute it and/or 8 modify it under the terms of the GNU General Public License 9 as published by the Free Software Foundation; either version 2 10 of the License, or (at your option) any later version. 11 12 This program is distributed in the hope that it will be useful, 13 but WITHOUT ANY WARRANTY; without even the implied warranty of 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 GNU General Public License for more details. 16 17 You should have received a copy of the GNU General Public License 18 along with this program; if not, write to the Free Software 19 Foundation, Inc., 51 Franklin Street, Fifth Floor, 20 Boston, MA 02110-1301, USA 21 22 */ 23 24 #ifndef SPECIAL_H 25 #define SPECIAL_H 26 27 #include <gtk/gtk.h> 28 29 #include <defaults.h> 30 31 extern GtkWidget *specialTab; 32 extern GtkWidget *bannerFrame; 33 extern GtkWidget *bannerFrameStartCombo; 34 extern GtkWidget *bannerFrameStopCombo; 35 extern GtkWidget *jobNameFrame; 36 extern GtkWidget *jobNameField; 37 extern GtkWidget *specialOptFrame; 38 extern GtkWidget *specialRawCheck; 39 extern GtkWidget *extraOptFrame; 40 extern GtkWidget *extraOptField; 41 extern GtkWidget *passFrame; 42 extern GtkWidget *loginEntrySpecial; 43 extern GtkWidget *passEntrySpecial; 44 extern GList *bannerList; 45 46 extern int bannerAnz; 47 extern char Banners[MAX_BANNER][MAXLINE + 1]; 48 49 void specialTabSetDefaults(void); 50 void BannerFrame(GtkWidget * container); 51 gboolean loginEntrySpecialNew(GtkWidget * widget, GdkEventFocus * event, 52 gpointer user_data); 53 gboolean passEntrySpecialNew(GtkEditable * editable, gpointer data); 54 void PassFrame(GtkWidget * container); 55 void JobNameChanged(GtkWidget * widget, gpointer data); 56 void JobNameFrame(GtkWidget * container); 57 void specialCheckChanged(GtkWidget * widget, gpointer data); 58 void SpecialOptFrame(GtkWidget * container); 59 void extraOptChanged(GtkWidget * widget, gpointer data); 60 void ExtraOptFrame(GtkWidget * container); 61 void SpecialTab(void); 62 63 #endif /* SPECIAL_H */ 64