quakeforge/tools/Forge/Bundles/MapEdit/QuakeEd_main.m
Jeff Teunissen 0e5cd14829 tactical whitespace bomb
Add return-type information to all methods, split up lines properly where
I could find them, and ran the whole thing through uncrustify. Looks purty
now. :)
2010-11-28 15:31:38 +09:00

27 lines
421 B
Objective-C

#include <AppKit/AppKit.h>
#include "QF/sys.h"
#include "QuakeEd.h"
@interface QuakeEdApp: NSApplication
- (void) sendEvent: (NSEvent *)evt;
@end
@implementation QuakeEdApp
- (void) sendEvent: (NSEvent *)evt;
{
if ([evt type] == NSApplicationDefined)
[quakeed_i applicationDefined: evt];
else
[super sendEvent: evt];
}
@end
int
main (int argc, const char *argv[])
{
return NSApplicationMain (argc, argv);
}