apps-projectcenter/Modules/Projects/Application/PCAppProject.h
Riccardo Mottola ce45c22ac0 reconnect some outlets
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39628 72102866-910b-0410-8b05-ffd578937521
2016-04-06 01:23:34 +00:00

119 lines
3.8 KiB
Objective-C

/*
GNUstep ProjectCenter - http://www.gnustep.org/experience/ProjectCenter.html
Copyright (C) 2001-2016 Free Software Foundation
Authors: Philippe C.D. Robert
Serg Stoyan
Riccardo Mottola
Description: This is the project type 'Application' for GNUstep. You never
should create it yourself but use PCAppProj for doing this.
Otherwise needed files don't get copied to the right place.
This file is part of GNUstep.
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.
This application is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
*/
#ifndef _PCAppProject_h_
#define _PCAppProject_h_
#import <AppKit/AppKit.h>
#import <ProjectCenter/PCDefines.h>
#import <ProjectCenter/PCProject.h>
#import <ProjectCenter/PCProjectInspector.h>
#import <ProjectCenter/PCFileNameIcon.h>
#import <Protocols/ProjectType.h>
@interface PCAppTextField : NSTextField
{
}
@end
@interface PCAppProject : PCProject <ProjectType>
{
IBOutlet NSBox *projectAttributesView;
IBOutlet NSPopUpButton *appTypeField;
IBOutlet NSTextField *appClassField;
PCAppTextField *activeTextField;
IBOutlet PCAppTextField *appImageField;
IBOutlet PCAppTextField *helpFileField;
IBOutlet PCAppTextField *mainNIBField;
IBOutlet NSTextField *bundleIdentifierField;
IBOutlet NSTextView *helpText;
IBOutlet PCFileNameIcon *iconView;
NSImage *icon;
IBOutlet NSButton *docTypesButton;
IBOutlet NSPanel *docTypesPanel;
IBOutlet NSButton *addDocTypeButton;
IBOutlet NSButton *removeDocTypeButton;
IBOutlet NSButton *docBasedAppButton;
IBOutlet NSScrollView *docTypesScroll;
IBOutlet NSTableView *docTypesList;
IBOutlet NSTableColumn *typeColumn; // NSName
IBOutlet NSTableColumn *nameColumn; // NSHumanReadableName
IBOutlet NSTableColumn *extensionsColumn; // NSUnixExtensions
IBOutlet NSTableColumn *iconColumn; // NSIcon
IBOutlet NSTableColumn *roleColumn; // NSRole
IBOutlet NSTableColumn *classColumn; // NSDocumentClass
NSMutableArray *docTypesItems;
IBOutlet NSTextField *docTypeLabel;
IBOutlet NSTextField *docTypeField;
IBOutlet NSTextField *docNameLabel;
IBOutlet NSTextField *docNameField;
IBOutlet NSTextField *docIconLabel;
IBOutlet NSTextField *docIconField;
IBOutlet NSTextField *docExtensionsLabel;
IBOutlet NSTextField *docExtensionsField;
IBOutlet NSTextField *docRoleLabel;
IBOutlet NSTextField *docRoleField;
IBOutlet NSTextField *docClassLabel;
IBOutlet NSTextField *docClassField;
NSMutableDictionary *infoDict;
}
// ----------------------------------------------------------------------------
// --- Init and free
// ----------------------------------------------------------------------------
- (id)init;
- (void)loadInfoFile;
- (void)dealloc;
- (PCProject *)createProjectAt:(NSString *)path;
@end
@interface PCAppProject (GeneratedFiles)
- (void)writeInfoEntry:(NSString *)name forKey:(NSString *)key;
- (BOOL)writeInfoFile;
- (BOOL)writeMakefile;
- (void)appendHead:(PCMakefileFactory *)mff;
- (void)appendTail:(PCMakefileFactory *)mff;
@end
#endif