ProjectManager  0.2
FrameworkProjectType.h
00001 /*
00002     FrameworkProjectType.h
00003 
00004     Interface declaration of the FrameworkProjectType 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 FrameworkGeneralAttributes;
00044 
00045 @interface FrameworkProjectType : NSObject <ProjectType,
00046                                             ProjectAttributesDelegate,
00047                                             FileManagerDelegate,
00048                                             MakeBuilderDelegate,
00049                                             SubprojectsManagerDelegate>
00050 {
00051   // weak reference
00052   ProjectDocument * owner;
00053 
00054   FrameworkGeneralAttributes * attributes;
00055 
00056   NSString * principalClass;
00057   NSArray  * authors;
00058   NSString * copyright;
00059   NSString * copyrightDescription;
00060 
00061   FileManager * fileManager;
00062   MakeBuilder * builder;
00063 
00064   NSString * versionName;
00065   BOOL buildsSharedLibrary;
00066   BOOL makesCurrentVersion;
00067 
00068   unsigned int oldMakeHash;
00069 }
00070 
00071 - (void) setPrincipalClass: (NSString *) aClass;
00072 - (NSString *) principalClass;
00073 
00074 - (void) setAuthors: (NSArray *) anArray;
00075 - (NSArray *) authors;
00076 
00077 - (void) setCopyright: (NSString *) aCopyright;
00078 - (NSString *) copyright;
00079 
00080 - (void) setCopyrightDescription: (NSString *) aCopyrightDescription;
00081 - (NSString *) copyrightDescription;
00082 
00083 - (void) setBuildsSharedLibrary: (BOOL) flag;
00084 - (BOOL) buildsSharedLibrary;
00085 
00086 - (void) setVersionName: (NSString *) aName;
00087 - (NSString *) versionName;
00088 
00089 - (void) setMakesCurrentVersion: (BOOL) flag;
00090 - (BOOL) makesCurrentVersion;
00091 
00092 @end