diff options
Diffstat (limited to 'src/conversation/gnunet-conversation-gtk_log.h')
-rw-r--r-- | src/conversation/gnunet-conversation-gtk_log.h | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/src/conversation/gnunet-conversation-gtk_log.h b/src/conversation/gnunet-conversation-gtk_log.h new file mode 100644 index 00000000..b63400a0 --- /dev/null +++ b/src/conversation/gnunet-conversation-gtk_log.h | |||
@@ -0,0 +1,73 @@ | |||
1 | /* | ||
2 | This file is part of GNUnet | ||
3 | (C) 2013-2014 Christian Grothoff (and other contributing authors) | ||
4 | |||
5 | GNUnet is free software; you can redistribute it and/or modify | ||
6 | it under the terms of the GNU General Public License as published | ||
7 | by the Free Software Foundation; either version 3, or (at your | ||
8 | option) any later version. | ||
9 | |||
10 | GNUnet is distributed in the hope that it will be useful, but | ||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
13 | General Public License for more details. | ||
14 | |||
15 | You should have received a copy of the GNU General Public License | ||
16 | along with GNUnet; see the file COPYING. If not, write to the | ||
17 | Free Software Foundation, Inc., 59 Temple Place - Suite 330, | ||
18 | Boston, MA 02111-1307, USA. | ||
19 | */ | ||
20 | |||
21 | /** | ||
22 | * @file src/identity/gnunet-identity-gtk_log.h | ||
23 | * @author Christian Grothoff | ||
24 | */ | ||
25 | #ifndef GNUNET_CONVERSATION_GTK_LOG_H | ||
26 | #define GNUNET_CONVERSATION_GTK_LOG_H | ||
27 | |||
28 | #include <stdbool.h> | ||
29 | #include <stdint.h> | ||
30 | #include "gnunet_gtk.h" | ||
31 | #include <gnunet/gnunet_dnsparser_lib.h> | ||
32 | #include <gnunet/gnunet_identity_service.h> | ||
33 | #include <gnunet/gnunet_namestore_service.h> | ||
34 | #include <gnunet/gnunet_conversation_service.h> | ||
35 | #include <gnunet/gnunet_speaker_lib.h> | ||
36 | #include <gnunet/gnunet_microphone_lib.h> | ||
37 | #include <gnunet/gnunet_identity_service.h> | ||
38 | #include <gnunet/gnunet_namestore_service.h> | ||
39 | #include <gnunet/gnunet_gnsrecord_lib.h> | ||
40 | |||
41 | |||
42 | /** | ||
43 | * Update status bar. | ||
44 | * | ||
45 | * @param message format string for message to put in statusbar | ||
46 | * @param ... arguments for the format string | ||
47 | */ | ||
48 | void | ||
49 | GCG_update_status_bar (const gchar *message, | ||
50 | ...); | ||
51 | |||
52 | |||
53 | /** | ||
54 | * Log a message to the log textbuffer. | ||
55 | * | ||
56 | * @param message format string for message to be logged | ||
57 | * @param ... arguments for the format string | ||
58 | */ | ||
59 | void | ||
60 | GCG_log (const char *message, | ||
61 | ...); | ||
62 | |||
63 | |||
64 | /** | ||
65 | * Updates the status icon to the image of the given name. | ||
66 | * | ||
67 | * @param icon_name name of the icon to use | ||
68 | */ | ||
69 | void | ||
70 | GCG_set_status_icon (const char *icon_name); | ||
71 | |||
72 | |||
73 | #endif | ||