mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-11 15:51:36 +00:00
0e5cd14829
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. :)
27 lines
421 B
Objective-C
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);
|
|
}
|