aboutsummaryrefslogtreecommitdiff
path: root/src/dbus-shared-names.h
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-07-22 15:36:59 +0100
committerConor Curran <conor.curran@canonical.com>2011-07-22 15:36:59 +0100
commit13452b541f9aabf229f16a029a4c823c76e2b1f0 (patch)
treec25f642ce5eee0d94e5a741590d2d977a06ae26e /src/dbus-shared-names.h
parentbc829db4eb65f7373b2ff13cd5dc8ce96a469af3 (diff)
downloadayatana-indicator-session-13452b541f9aabf229f16a029a4c823c76e2b1f0.tar.gz
ayatana-indicator-session-13452b541f9aabf229f16a029a4c823c76e2b1f0.tar.bz2
ayatana-indicator-session-13452b541f9aabf229f16a029a4c823c76e2b1f0.zip
apt progress now reflected dynamically in the menu
Diffstat (limited to 'src/dbus-shared-names.h')
-rw-r--r--src/dbus-shared-names.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/dbus-shared-names.h b/src/dbus-shared-names.h
index 7c6c14f..2114332 100644
--- a/src/dbus-shared-names.h
+++ b/src/dbus-shared-names.h
@@ -20,17 +20,22 @@ You should have received a copy of the GNU General Public License along
with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef __DBUS_SHARED_NAMES_H__
+#define __DBUS_SHARED_NAMES_H__
+
typedef enum {
UP_TO_DATE,
CHECKING_FOR_UPDATES,
UPDATES_AVAILABLE,
- UPGRADE_IN_PROGRESS,
+ UPGRADE_IN_PROGRESS,
+ FINISHED,
RESTART_NEEDED
}AptState;
-
-#ifndef __DBUS_SHARED_NAMES_H__
-#define __DBUS_SHARED_NAMES_H__ 1
+typedef enum {
+ SIMULATION,
+ REAL
+}TransactionType;
#define INDICATOR_USERS_DBUS_NAME INDICATOR_SESSION_DBUS_NAME
#define INDICATOR_USERS_DBUS_OBJECT "/com/canonical/indicator/users/menu"