ProjectManager  0.2
ProjectTypeLoader.h
1 /*
2  ProjectTypeLoader.h
3 
4  Interface declaration of the ProjectTypeLoader class for the
5  ProjectManager application.
6 
7  Copyright (C) 2005 Saso Kiselkov
8 
9  This program is free software; you can redistribute it and/or modify
10  it under the terms of the GNU General Public License as published by
11  the Free Software Foundation; either version 2 of the License, or
12  (at your option) any later version.
13 
14  This program is distributed in the hope that it will be useful,
15  but WITHOUT ANY WARRANTY; without even the implied warranty of
16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  GNU General Public License for more details.
18 
19  You should have received a copy of the GNU General Public License
20  along with this program; if not, write to the Free Software
21  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22 */
23 
24 #import <Foundation/NSObject.h>
25 
26 @class NSDictionary, NSArray, NSString;
27 
28 @class ProjectDocument;
29 @protocol ProjectType;
30 
31 @interface ProjectTypeLoader : NSObject
32 {
33  /* A dictionary where keys are project type IDs and values
34  * are classes which handle them. */
35  NSDictionary * projectTypes;
36 }
37 
39 + shared;
40 
45 - (NSDictionary *) projectTypes;
46 
52 - (id <ProjectType>) projectTypeForTypeID: (NSString *) projectTypeID
53  project: (ProjectDocument *) project
54  infoDictionary: (NSDictionary *) infoDict
55  projectModules: (NSArray *) projectModules;
56 
57 @end
This class is the principal document class for project files.
Definition: ProjectDocument.h:44
Definition: ProjectTypeLoader.h:32
NSDictionary * projectTypes()
Returns the a dictionary where keys are project types and values are classes which implement the resp...
This protocol is adopted by project type support objects.
Definition: ProjectType.h:40