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

« back to all changes in this revision

Viewing changes to src/hooks.h

  • Committer: mvo
  • Date: 2005-01-19 11:21:15 UTC
  • Revision ID: gustavo@niemeyer.net-20050119112115-4481f2feff7bb8e3
* added basic "interactive-update-hooks" support

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _HOOKS_H_
 
2
#define _HOOKS_H_
 
3
 
 
4
#include <glade/glade.h>
 
5
#include "update-notifier.h"
 
6
 
 
7
gboolean check_update_hooks(TrayApplet *un);
 
8
void hook_tray_icon_init(TrayApplet *un);
 
9
 
 
10
 
 
11
typedef struct _HookFileSeen HookFileSeen;
 
12
struct _HookFileSeen
 
13
{
 
14
   char *filename;
 
15
   time_t mtime;
 
16
   gboolean cmd_run;
 
17
};
 
18
 
 
19
 
 
20
typedef struct _HookDialog HookDialog;
 
21
struct _HookDialog
 
22
{
 
23
   GladeXML *glade_xml;
 
24
   
 
25
   GList *hook_files;   
 
26
   GList *hook_files_seen;
 
27
};
 
28
 
 
29
 
 
30
#endif