24 #import <Foundation/NSObject.h>
25 #import <Foundation/NSString.h>
26 #import <Foundation/NSDictionary.h>
28 @class NSArray, NSDictionary, NSImage;
76 + (NSString *) pathToProjectTemplate: (NSString *) templateName;
96 infoDictionary: (NSDictionary *) infoDict
97 projectModules: (NSArray *) modules;
145 static inline NSDictionary *
146 PMCreateTemplateDescription(NSString * templateDescription,
147 NSImage * templateIcon)
149 return [NSDictionary dictionaryWithObjectsAndKeys:
150 templateDescription, @"Description",
152 templateIcon, @"Icon",
NSString * description
Returns the receiver's template's human-readable description.
Definition: ProjectTemplateDescription.h:34
ProjectTypeDescription * parent
Returns the parent type description which contains this template description.
Definition: ProjectTemplateDescription.h:36
NSString * projectTypeID()
Should return the project type ID.
Definition: ProjectDocument.h:43
The description of a project type.
Definition: ProjectTypeDescription.h:31
NSImage * icon
Returns the receiver's icon representation.
Definition: ProjectTemplateDescription.h:35
NSString * projectTypeDescription()
Should return a more detailed description of the project type.
NSDictionary * projectTemplateDescriptions()
The project type should return a dictionary where keys are project template names and values are desc...
NSDictionary * infoDictionary()
Should return the project's info dictionary which is suitable for being written into the project file...
NSString * pathToSubprojectsDirectory()
In case the project type supports subprojects, this method should return a path to a directory where ...
NSImage * projectTypeIcon()
Should return an icon of the project type (max 48x48 pixels).
NSString * name
Returns the receiver's template's name.
Definition: ProjectTemplateDescription.h:33
NSString * humanReadableProjectTypeName()
Should return a human-readable, perhaps localized descriptive name of the project type.
BOOL regenerateDerivedFiles()
Instructs the project to regenerate any of it's derived files, if necessary.
NSArray * projectModules()
Should return an OR'ed set of project capabilities provided by this project type.
This protocol is adopted by project type support objects.
Definition: ProjectType.h:40
A project template description.
Definition: ProjectTemplateDescription.h:31