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

« back to all changes in this revision

Viewing changes to src/update.h

  • Committer: Balint Reczey
  • Date: 2020-06-11 18:46:02 UTC
  • Revision ID: balint.reczey@canonical.com-20200611184602-2rv1zan3xu723x2u
Moved to git at https://git.launchpad.net/update-notifier

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#include <gtk/gtk.h>
2
 
#include <libnotify/notify.h>
3
 
 
4
 
 
5
 
gboolean update_check(TrayApplet *ta);
6
 
void update_tray_icon_init(TrayApplet *ta);
7
 
 
8
 
void update_apt_is_running(TrayApplet *ta, gboolean is_running);
9
 
 
10
 
typedef struct _UpdateTrayAppletPrivate UpdateTrayAppletPrivate;
11
 
struct _UpdateTrayAppletPrivate 
12
 
{
13
 
   // this is a permanent marker if apt is running currently
14
 
   // (the difference to the one in update-notifier.h is that
15
 
   //  the one in here is "global" and not "per-timeslice" information
16
 
   gboolean apt_is_running;
17
 
   NotifyNotification *active_notification;
18
 
   
19
 
   int num_upgrades;
20
 
   int num_security;
21
 
   gboolean reboot_pending;
22
 
};