~ubuntu-core-dev/update-notifier/ubuntu

45 by mvo
* added basic "interactive-update-hooks" support
1
#ifndef _HOOKS_H_
2
#define _HOOKS_H_
3
4
211 by Michael Vogt
* added debugging support via --debug-hooks
5
45 by mvo
* added basic "interactive-update-hooks" support
6
gboolean check_update_hooks(TrayApplet *un);
7
void hook_tray_icon_init(TrayApplet *un);
8
211 by Michael Vogt
* added debugging support via --debug-hooks
9
10
124 by mvo
* src/hooks.{c,h}:
11
typedef struct _HookFile HookFile;
12
struct _HookFile
45 by mvo
* added basic "interactive-update-hooks" support
13
{
14
   char *filename;
15
   time_t mtime;
476 by Michael Vogt
fix -Wall errors
16
   guint8 md5[16];
45 by mvo
* added basic "interactive-update-hooks" support
17
   gboolean cmd_run;
124 by mvo
* src/hooks.{c,h}:
18
   gboolean seen;
45 by mvo
* added basic "interactive-update-hooks" support
19
};
20
21
210 by Michael Vogt
* added a notification on hooks
22
typedef struct _HookTrayAppletPrivate HookTrayAppletPrivate;
23
struct _HookTrayAppletPrivate
45 by mvo
* added basic "interactive-update-hooks" support
24
{
464.1.7 by seb128
use gtkbuilder for the hooks too
25
   GtkBuilder *gtk_builder;
124 by mvo
* src/hooks.{c,h}:
26
27
   // the list of all hook files
45 by mvo
* added basic "interactive-update-hooks" support
28
   GList *hook_files;   
210 by Michael Vogt
* added a notification on hooks
29
30
   // the notification
31
   NotifyNotification *active_notification;
45 by mvo
* added basic "interactive-update-hooks" support
32
};
33
34
#endif