ProjectManager  0.2
ProjectModuleLoader.h
1 /*
2  ProjectModuleLoader.h
3 
4  Interface declaration of the ProjectModuleLoader 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 ProjectModule;
30 
31 @interface ProjectModuleLoader : NSObject
32 {
33  /* A dictionary where keys are project module names and values
34  * are classes which handle them. */
35  NSDictionary * projectModules;
36 }
37 
39 + shared;
40 
45 - (NSDictionary *) projectModules;
46 
52 - (id <ProjectModule>)
53  projectModuleForModuleName: (NSString *) projectModuleName
54  project: (ProjectDocument *) project
55  infoDictionary: (NSDictionary *) infoDict;
56 
57 @end
This class is the principal document class for project files.
Definition: ProjectDocument.h:44
Definition: ProjectModuleLoader.h:32
NSDictionary * projectModules()
Returns the a dictionary where keys are project types and values are classes which implement the resp...
This protocol declares methods which project modules must implement.
Definition: ProjectModule.h:44