aboutsummaryrefslogtreecommitdiff
path: root/src/dbus-shared-names.h
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-07-22 18:00:09 +0100
committerConor Curran <conor.curran@canonical.com>2011-07-22 18:00:09 +0100
commit7ad1a2872a085c1a0e988099ba42db7cdb0cc89c (patch)
tree2e7b1ae575161b065108c1f5f6952246224b3f20 /src/dbus-shared-names.h
parent15469febca3b4730bc4f3a403f114235b3c4a18b (diff)
parent13452b541f9aabf229f16a029a4c823c76e2b1f0 (diff)
downloadayatana-indicator-session-7ad1a2872a085c1a0e988099ba42db7cdb0cc89c.tar.gz
ayatana-indicator-session-7ad1a2872a085c1a0e988099ba42db7cdb0cc89c.tar.bz2
ayatana-indicator-session-7ad1a2872a085c1a0e988099ba42db7cdb0cc89c.zip
apt item partially working
Diffstat (limited to 'src/dbus-shared-names.h')
-rw-r--r--src/dbus-shared-names.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/src/dbus-shared-names.h b/src/dbus-shared-names.h
index 13ad227..d9dfff1 100644
--- a/src/dbus-shared-names.h
+++ b/src/dbus-shared-names.h
@@ -20,18 +20,23 @@ 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,
- FINISHED_CHECKING,
- UPDATING,
- RESTART_NEEDED
+ UPGRADE_IN_PROGRESS,
+ FINISHED,
+ RESTART_NEEDED,
+ DONT_KNOW
}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"