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

« back to all changes in this revision

Viewing changes to src/update.h

  • Committer: dann frazier
  • Date: 2020-02-04 02:27:07 UTC
  • Revision ID: dannf@ubuntu.com-20200204022707-37vu1ltkpx2m2t5x
tests/test_motd.py: Fix cut & paste error in comment.

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
};