diff options
Diffstat (limited to 'src/ui/chat.h')
-rw-r--r-- | src/ui/chat.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/ui/chat.h b/src/ui/chat.h index 0134a85..5173596 100644 --- a/src/ui/chat.h +++ b/src/ui/chat.h | |||
@@ -25,9 +25,11 @@ | |||
25 | #ifndef UI_CHAT_H_ | 25 | #ifndef UI_CHAT_H_ |
26 | #define UI_CHAT_H_ | 26 | #define UI_CHAT_H_ |
27 | 27 | ||
28 | #include <gstreamer-1.0/gst/gst.h> | ||
28 | #include <gtk-3.0/gtk/gtk.h> | 29 | #include <gtk-3.0/gtk/gtk.h> |
29 | #include <libhandy-1/handy.h> | 30 | #include <libhandy-1/handy.h> |
30 | #include <libnotify/notify.h> | 31 | #include <libnotify/notify.h> |
32 | #include <stdio.h> | ||
31 | 33 | ||
32 | #include <gnunet/gnunet_chat_lib.h> | 34 | #include <gnunet/gnunet_chat_lib.h> |
33 | 35 | ||
@@ -39,6 +41,24 @@ typedef struct UI_FILE_LOAD_ENTRY_Handle UI_FILE_LOAD_ENTRY_Handle; | |||
39 | typedef struct UI_CHAT_Handle | 41 | typedef struct UI_CHAT_Handle |
40 | { | 42 | { |
41 | gboolean recorded; | 43 | gboolean recorded; |
44 | gboolean playing; | ||
45 | |||
46 | char recording_filename [PATH_MAX]; | ||
47 | |||
48 | guint record_timer; | ||
49 | guint record_time; | ||
50 | |||
51 | guint play_timer; | ||
52 | guint play_time; | ||
53 | |||
54 | GstElement *record_pipeline; | ||
55 | GstElement *record_sink; | ||
56 | |||
57 | GstElement *play_pipeline; | ||
58 | GstElement *play_source; | ||
59 | |||
60 | guint record_watch; | ||
61 | guint play_watch; | ||
42 | 62 | ||
43 | MESSENGER_Application *app; | 63 | MESSENGER_Application *app; |
44 | 64 | ||