update templates

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@29063 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2009-11-26 12:43:40 +00:00
parent 45320c4c28
commit 6607fcc0ef
5 changed files with 40 additions and 29 deletions

View file

@ -1,3 +1,12 @@
2009-11-26 Richard frith-Macdonald <rfm@gnu.org>
* Modules/Projects/Application/Resources/AppController.m:
* Modules/Projects/Application/Resources/main.m:
* Modules/Projects/Application/Resources/AppController.h:
* Modules/Projects/Tool/Resources/main.m:
Update to conform to coding standards and to use GPL 3 as
default copyleft.
2009-09-20 03:45-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Framework/PCMakefileFactory.m: Check if buildDir is nil before

View file

@ -1,7 +1,7 @@
/*
Project: $PROJECTNAME$
Copyright (C) $YEAR$ Free Software Foundation
Copyright (C) $YEAR$ Free Software Foundation
Author: $FULLUSERNAME$
@ -12,7 +12,7 @@
This application is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
version 3 of the License, or (at your option) any later version.
This application is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
@ -35,19 +35,20 @@
{
}
+ (void)initialize;
+ (void) initialize;
- (id)init;
- (void)dealloc;
- (id) init;
- (void) dealloc;
- (void)awakeFromNib;
- (void) awakeFromNib;
- (void)applicationDidFinishLaunching:(NSNotification *)aNotif;
- (BOOL)applicationShouldTerminate:(id)sender;
- (void)applicationWillTerminate:(NSNotification *)aNotif;
- (BOOL)application:(NSApplication *)application openFile:(NSString *)fileName;
- (void) applicationDidFinishLaunching: (NSNotification *)aNotif;
- (BOOL) applicationShouldTerminate: (id)sender;
- (void) applicationWillTerminate: (NSNotification *)aNotif;
- (BOOL) application: (NSApplication *)application
openFile: (NSString *)fileName;
- (void)showPrefPanel:(id)sender;
- (void) showPrefPanel: (id)sender;
@end

View file

@ -1,7 +1,7 @@
/*
Project: $PROJECTNAME$
Copyright (C) $YEAR$ Free Software Foundation
Copyright (C) $YEAR$ Free Software Foundation
Author: $FULLUSERNAME$
@ -12,7 +12,7 @@
This application is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
version 3 of the License, or (at your option) any later version.
This application is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
@ -28,7 +28,7 @@
@implementation AppController
+ (void)initialize
+ (void) initialize
{
NSMutableDictionary *defaults = [NSMutableDictionary dictionary];
@ -40,11 +40,11 @@
*
*/
[[NSUserDefaults standardUserDefaults] registerDefaults:defaults];
[[NSUserDefaults standardUserDefaults] registerDefaults: defaults];
[[NSUserDefaults standardUserDefaults] synchronize];
}
- (id)init
- (id) init
{
if ((self = [super init]))
{
@ -52,36 +52,37 @@
return self;
}
- (void)dealloc
- (void) dealloc
{
[super dealloc];
}
- (void)awakeFromNib
- (void) awakeFromNib
{
}
- (void)applicationDidFinishLaunching:(NSNotification *)aNotif
- (void) applicationDidFinishLaunching: (NSNotification *)aNotif
{
// Uncomment if your application is Renaissance-based
// [NSBundle loadGSMarkupNamed:@"Main" owner:self];
// [NSBundle loadGSMarkupNamed: @"Main" owner: self];
}
- (BOOL)applicationShouldTerminate:(id)sender
- (BOOL) applicationShouldTerminate: (id)sender
{
return YES;
}
- (void)applicationWillTerminate:(NSNotification *)aNotif
- (void) applicationWillTerminate: (NSNotification *)aNotif
{
}
- (BOOL)application:(NSApplication *)application openFile:(NSString *)fileName
- (BOOL) application: (NSApplication *)application
openFile: (NSString *)fileName
{
return NO;
}
- (void)showPrefPanel:(id)sender
- (void) showPrefPanel: (id)sender
{
}

View file

@ -10,7 +10,7 @@
This application is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
version 3 of the License, or (at your option) any later version.
This application is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
@ -30,12 +30,12 @@ main(int argc, const char *argv[])
// Uncomment if your application is Renaissance application
/* CREATE_AUTORELEASE_POOL (pool);
[NSApplication sharedApplication];
[NSApp setDelegate:[AppController new]];
[NSApp setDelegate: [AppController new]];
#ifdef GNUSTEP
[NSBundle loadGSMarkupNamed:@"MainMenu-GNUstep" owner:[NSApp delegate]];
[NSBundle loadGSMarkupNamed: @"MainMenu-GNUstep" owner: [NSApp delegate]];
#else
[NSBundle loadGSMarkupNamed:@"MainMenu-OSX" owner:[NSApp delegate]];
[NSBundle loadGSMarkupNamed: @"MainMenu-OSX" owner: [NSApp delegate]];
#endif
RELEASE (pool);

View file

@ -10,7 +10,7 @@
This application is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
version 3 of the License, or (at your option) any later version.
This application is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of