2 * Copyright 2017, Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
6 * Brian Hill <supernova@tycho.email>
11 #define kAppSignature "application/x-vnd.haiku-softwareupdater"
12 #define kSettingsFilename "SoftwareUpdater_settings"
26 STATE_DISPLAY_PROGRESS
,
27 STATE_GET_CONFIRMATION
,
34 USER_SELECTION_NEEDED
= 0,
43 // Message what values
44 static const uint32 kMsgTextUpdate
= 'iUPD';
45 static const uint32 kMsgProgressUpdate
= 'iPRO';
46 static const uint32 kMsgCancel
= 'iCAN';
47 static const uint32 kMsgCancelResponse
= 'iCRE';
48 static const uint32 kMsgUpdateConfirmed
= 'iCON';
49 static const uint32 kMsgWarningDismissed
= 'iWDI';
50 static const uint32 kMsgGetUpdateType
= 'iGUP';
51 static const uint32 kMsgNoRepositories
= 'iNRE';
52 static const uint32 kMsgRegister
= 'iREG';
53 static const uint32 kMsgFinalQuit
= 'iFIN';
54 static const uint32 kMsgMoreDetailsToggle
= 'iDTO';
55 static const uint32 kMsgWindowFrameChanged
= 'iWFC';
56 static const uint32 kMsgSetZoomLimits
= 'iSZL';
59 #define kKeyHeader "key_header"
60 #define kKeyDetail "key_detail"
61 #define kKeyPackageName "key_packagename"
62 #define kKeyPackageCount "key_packagecount"
63 #define kKeyPercentage "key_percentage"
64 #define kKeyMessenger "key_messenger"
65 #define kKeyAlertResult "key_alertresult"
68 #define kKeyShowDetails "ShowDetails"
69 #define kKeyWindowFrame "WindowFrame"