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

« back to all changes in this revision

Viewing changes to src/hooks.h

  • Committer: Michael Terry
  • Date: 2011-07-01 12:46:30 UTC
  • Revision ID: michael.terry@canonical.com-20110701124630-oesjak2rueshotbm
Tags: 0.112ubuntu2
* data/update-notifier.desktop.in:
  - Don't show in "Startup Applications" (LP: #803917)

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