ProjectManager  0.2
PaletteProjectType.h
00001 /*
00002     PaletteProjectType.h
00003 
00004     Interface declaration of the PaletteProjectType class for the
00005     ProjectManager application.
00006 
00007     Copyright (C) 2005, 2006  Saso Kiselkov
00008 
00009     This program is free software; you can redistribute it and/or modify
00010     it under the terms of the GNU General Public License as published by
00011     the Free Software Foundation; either version 2 of the License, or
00012     (at your option) any later version.
00013 
00014     This program is distributed in the hope that it will be useful,
00015     but WITHOUT ANY WARRANTY; without even the implied warranty of
00016     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017     GNU General Public License for more details.
00018 
00019     You should have received a copy of the GNU General Public License
00020     along with this program; if not, write to the Free Software
00021     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00022 */
00023 
00024 #import <Foundation/NSObject.h>
00025 #import "../../ProjectType.h"
00026 
00027 #import "../../ProjectModules/MakeBuilder/MakeBuilderDelegate.h"
00028 #import "../../ProjectModules/FileManager/FileManagerDelegate.h"
00029 #import "../../ProjectModules/ProjectAttributes/ProjectAttributesDelegate.h"
00030 #import "../../ProjectModules/SubprojectsManager/SubprojectsManagerDelegate.h"
00031 
00032 @class NSString,
00033        NSDictionary,
00034        NSArray,
00035        NSMutableArray,
00036        NSNotification;
00037 
00038 @class ProjectDocument,
00039        FileManager,
00040        MakeBuilder,
00041        GNUstepAppLauncher;
00042 
00043 @class PaletteGeneralAttributes;
00044 
00045 @interface PaletteProjectType : NSObject <ProjectType,
00046                                           ProjectAttributesDelegate,
00047                                           FileManagerDelegate,
00048                                           MakeBuilderDelegate,
00049                                           SubprojectsManagerDelegate>
00050 {
00051   // weak reference
00052   ProjectDocument * owner;
00053 
00054   NSString * mainNibFile;
00055   NSString * principalClass;
00056   NSArray  * authors;
00057   NSString * copyright;
00058   NSString * copyrightDescription;
00059   NSString * iconName;
00060   NSArray * exportedClasses;
00061 
00062   PaletteGeneralAttributes * generalAttributes;
00063 
00064   FileManager * fileManager;
00065   MakeBuilder * builder;
00066 
00067   unsigned int oldMakeHash;
00068 }
00069 
00070 - (void) setMainNibFile: (NSString *) aFile;
00071 - (NSString *) mainNibFile;
00072 
00073 - (void) setPrincipalClass: (NSString *) aClass;
00074 - (NSString *) principalClass;
00075 
00076 - (void) setAuthors: (NSArray *) anArray;
00077 - (NSArray *) authors;
00078 
00079 - (void) setCopyright: (NSString *) aCopyright;
00080 - (NSString *) copyright;
00081 
00082 - (void) setCopyrightDescription: (NSString *) aCopyrightDescription;
00083 - (NSString *) copyrightDescription;
00084 
00085 - (void) setIconName: (NSString *) iconName;
00086 - (NSString *) iconName;
00087 
00088 - (void) setExportedClasses: (NSArray *) someClasses;
00089 - (NSArray *) exportedClasses;
00090 
00091 @end