1 2/* 3 * Licensed Materials - Property of IBM 4 * 5 * trousers - An open source TCG Software Stack 6 * 7 * (C) Copyright International Business Machines Corp. 2004 8 * 9 */ 10 11#ifndef _CALLBACKS_H_ 12#define _CALLBACKS_H_ 13 14#include <gtk/gtk.h> 15 16#include "interface.h" 17 18/* Callbacks for the simple text imput dialog */ 19 20void 21on_dialog1_close (GtkDialog *dialog, 22 struct userdata *user_data); 23 24void 25on_cancelbutton1_clicked (GtkButton *button, 26 struct userdata *user_data); 27 28void 29on_okbutton1_clicked (GtkButton *button, 30 struct userdata *user_data); 31 32gboolean 33enter_event (GtkWidget *widget, 34 struct userdata *user_data); 35 36void 37on_inputdialog1_destroy (GtkObject *object, 38 struct userdata *user_data); 39 40/* Callbacks for the new password dialog */ 41 42void 43on_entryPassword_activate (GtkEntry *entry, 44 struct userdata *user_data); 45 46void 47on_entryConfirm_activate (GtkEntry *entry, 48 struct userdata *user_data); 49 50void 51on_cancelbutton2_clicked (GtkButton *button, 52 struct userdata *user_data); 53 54void 55on_okbutton2_clicked (GtkButton *button, 56 struct userdata *user_data); 57 58#endif 59