apps-projectcenter/Modules/Projects/Application/Resources/AppController.m
Gregory John Casamento bf26cfe775 * Modules/Projects/Application/Resources/AppController.h
* Modules/Projects/Application/Resources/AppController.m
	* Modules/Projects/Tool/Resources/main.m: Remove licensing
	and copyright information from these since we don't want to 
	assume that the user will be writing a GPLv3 program owned by the
	FSF (while that would be nice) it's not correct to assume it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@30484 72102866-910b-0410-8b05-ffd578937521
2010-05-30 07:10:31 +00:00

73 lines
1.1 KiB
Objective-C

/*
Project: $PROJECTNAME$
Author: $FULLUSERNAME$
Created: $DATE$ by $USERNAME$
Application Controller
*/
#import "AppController.h"
@implementation AppController
+ (void) initialize
{
NSMutableDictionary *defaults = [NSMutableDictionary dictionary];
/*
* Register your app's defaults here by adding objects to the
* dictionary, eg
*
* [defaults setObject:anObject forKey:keyForThatObject];
*
*/
[[NSUserDefaults standardUserDefaults] registerDefaults: defaults];
[[NSUserDefaults standardUserDefaults] synchronize];
}
- (id) init
{
if ((self = [super init]))
{
}
return self;
}
- (void) dealloc
{
[super dealloc];
}
- (void) awakeFromNib
{
}
- (void) applicationDidFinishLaunching: (NSNotification *)aNotif
{
// Uncomment if your application is Renaissance-based
// [NSBundle loadGSMarkupNamed: @"Main" owner: self];
}
- (BOOL) applicationShouldTerminate: (id)sender
{
return YES;
}
- (void) applicationWillTerminate: (NSNotification *)aNotif
{
}
- (BOOL) application: (NSApplication *)application
openFile: (NSString *)fileName
{
return NO;
}
- (void) showPrefPanel: (id)sender
{
}
@end