Add support for Versions.
This commit is contained in:
parent
051930c076
commit
f36bb10f54
|
@ -12,7 +12,7 @@
|
||||||
<key>Binary.xcscheme_^#shared#^_</key>
|
<key>Binary.xcscheme_^#shared#^_</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>orderHint</key>
|
<key>orderHint</key>
|
||||||
<integer>4</integer>
|
<integer>3</integer>
|
||||||
</dict>
|
</dict>
|
||||||
<key>DiskImage.xcscheme_^#shared#^_</key>
|
<key>DiskImage.xcscheme_^#shared#^_</key>
|
||||||
<dict>
|
<dict>
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
<key>doNotBuild.xcscheme_^#shared#^_</key>
|
<key>doNotBuild.xcscheme_^#shared#^_</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>orderHint</key>
|
<key>orderHint</key>
|
||||||
<integer>3</integer>
|
<integer>4</integer>
|
||||||
</dict>
|
</dict>
|
||||||
</dict>
|
</dict>
|
||||||
</dict>
|
</dict>
|
||||||
|
|
|
@ -13,5 +13,16 @@
|
||||||
|
|
||||||
#define windowRes 1001
|
#define windowRes 1001
|
||||||
|
|
||||||
|
/* Update Info */
|
||||||
|
#define UPDATE_INFO 1
|
||||||
|
|
||||||
|
|
||||||
|
/* Strings */
|
||||||
|
#define DISPLAY_NAME_STR 2000
|
||||||
|
#define AUTHOR_NAME_STR 2001
|
||||||
|
#define DOWNLOAD_URL_STR 2002
|
||||||
|
#define ARCHIVE_STR 2003
|
||||||
|
#define VERSIONS_DATA_FILE_STR 2004
|
||||||
|
|
||||||
|
|
||||||
#endif /* defined(_GUARD_PROJECTListener_FILEmain_) */
|
#endif /* defined(_GUARD_PROJECTListener_FILEmain_) */
|
||||||
|
|
|
@ -26,6 +26,52 @@ resource rVersion (1) {
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
/* Update info */
|
||||||
|
#define rUpdateInfo $DEAD /* RIP Jerry Garcia */
|
||||||
|
/*--------------------- rUpdateInfo -------------------------*/
|
||||||
|
type rUpdateInfo {
|
||||||
|
integer = 0; /* version must be zero */
|
||||||
|
longint; /* Resource ID of string holding app's display name */
|
||||||
|
longint; /* ID of string holding author's name */
|
||||||
|
longint; /* ID of string URL to the downloads folder */
|
||||||
|
longint; /* ID of string for downloadable archive name */
|
||||||
|
longint; /* ID of string for Versions.List data file */
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
resource rPString (DISPLAY_NAME_STR, $0000) {
|
||||||
|
"Listener"
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
resource rPString (AUTHOR_NAME_STR, $0000) {
|
||||||
|
"Jeremy Rand"
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
resource rPString (DOWNLOAD_URL_STR, $0000) {
|
||||||
|
"http://downloads.rand-emonium.com/files/"
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
resource rPString (ARCHIVE_STR, $0000) {
|
||||||
|
"Listener092.shk"
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
resource rPString (VERSIONS_DATA_FILE_STR, $0000) {
|
||||||
|
"jrand"
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
resource rUpdateInfo (UPDATE_INFO, $0000) {
|
||||||
|
DISPLAY_NAME_STR, // app's display name
|
||||||
|
AUTHOR_NAME_STR, // author's name
|
||||||
|
DOWNLOAD_URL_STR, // URL to downloads folder
|
||||||
|
ARCHIVE_STR, // Name of downloadable archive
|
||||||
|
VERSIONS_DATA_FILE_STR // Name of data file for Versions.List
|
||||||
|
};
|
||||||
|
|
||||||
resource rWindParam1 (windowRes) {
|
resource rWindParam1 (windowRes) {
|
||||||
$C0A5, /* wFrameBits */
|
$C0A5, /* wFrameBits */
|
||||||
nil, /* wTitle */
|
nil, /* wTitle */
|
||||||
|
|
Loading…
Reference in New Issue