diff options
Diffstat (limited to 'src/dbus-shared-names.h')
-rw-r--r-- | src/dbus-shared-names.h | 17 |
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" |