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

« back to all changes in this revision

Viewing changes to src/hooks.h

  • Committer: mvo
  • Date: 2004-11-02 00:58:06 UTC
  • Revision ID: gustavo@niemeyer.net-20041102005806-9118e041eaa0ebc8
* inital checkin

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef _HOOKS_H_
2
 
#define _HOOKS_H_
3
 
 
4
 
 
5
 
 
6
 
gboolean check_update_hooks(TrayApplet *un);
7
 
void hook_tray_icon_init(TrayApplet *un);
8
 
 
9
 
 
10
 
 
11
 
typedef struct _HookFile HookFile;
12
 
struct _HookFile
13
 
{
14
 
   char *filename;
15
 
   time_t mtime;
16
 
   guint8 md5[16];
17
 
   gboolean cmd_run;
18
 
   gboolean seen;
19
 
};
20
 
 
21
 
 
22
 
typedef struct _HookTrayAppletPrivate HookTrayAppletPrivate;
23
 
struct _HookTrayAppletPrivate
24
 
{
25
 
   GtkBuilder *gtk_builder;
26
 
 
27
 
   // the list of all hook files
28
 
   GList *hook_files;   
29
 
 
30
 
   // the notification
31
 
   NotifyNotification *active_notification;
32
 
};
33
 
 
34
 
#endif