diff --git a/LauncherManager.h b/LauncherManager.h index 13e38cd..6f6fae1 100644 --- a/LauncherManager.h +++ b/LauncherManager.h @@ -6,6 +6,8 @@ @interface LauncherManager : NSObject { id commandLineArguments; + id packageLabel; + id launcherWindow; IWADController *iwadController; } diff --git a/LauncherManager.m b/LauncherManager.m index 2dd4472..317cea6 100644 --- a/LauncherManager.m +++ b/LauncherManager.m @@ -2,6 +2,7 @@ #include #include "LauncherManager.h" +#include "config.h" @implementation LauncherManager @@ -20,4 +21,11 @@ { } +- (void) awakeFromNib +{ + [self->packageLabel setStringValue: @PACKAGE_STRING]; + [self->launcherWindow setTitle: @PACKAGE_NAME " Launcher"]; +} + @end + diff --git a/Resources/launcher.gorm/data.classes b/Resources/launcher.gorm/data.classes index ad45da1..326d131 100644 --- a/Resources/launcher.gorm/data.classes +++ b/Resources/launcher.gorm/data.classes @@ -54,7 +54,9 @@ ); Outlets = ( commandLineArguments, - iwadController + iwadController, + packageLabel, + launcherWindow ); Super = NSObject; }; diff --git a/Resources/launcher.gorm/objects.gorm b/Resources/launcher.gorm/objects.gorm index f068e1d..bc4d462 100644 Binary files a/Resources/launcher.gorm/objects.gorm and b/Resources/launcher.gorm/objects.gorm differ diff --git a/config.h b/config.h new file mode 100644 index 0000000..77fbac5 --- /dev/null +++ b/config.h @@ -0,0 +1,27 @@ +// Dummy config.h for developing launcher. Eventually, the launcher +// will include the top-level config.h for the program. + +/* Name of package */ +#define PACKAGE "cocoa-doom" + +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "fraggle@gmail.com" + +/* Define to the full name of this package. */ +#define PACKAGE_NAME "Cocoa Doom" + +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "Cocoa Doom 1.2.1" + +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "cocoa-doom" + +/* Define to the version of this package. */ +#define PACKAGE_VERSION "1.2.1" + +/* Define to 1 if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Version number of package */ +#define VERSION "1.2.1" +