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