mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-12-11 13:21:10 +00:00
fb785c334b
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);
|
|
}
|