ProjectManager  0.2
BundleProjectType.h
00001 /*
00002     BundleProjectType.h
00003 
00004     Interface declaration of the BundleProjectType 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 BundleGeneralAttributes;
00044 
00045 @interface BundleProjectType : NSObject <ProjectType,
00046                                          ProjectAttributesDelegate,
00047                                          FileManagerDelegate,
00048                                          MakeBuilderDelegate,
00049                                          SubprojectsManagerDelegate>
00050 {
00051   // weak reference
00052   ProjectDocument * owner;
00053 
00054   BundleGeneralAttributes * attributes;
00055 
00056   NSString * principalClass;
00057   NSArray  * authors;
00058   NSString * copyright;
00059   NSString * copyrightDescription;
00060 
00061   FileManager * fileManager;
00062   MakeBuilder * builder;
00063 
00064   unsigned int oldMakeHash;
00065 }
00066 
00067 - (void) setPrincipalClass: (NSString *) aClass;
00068 - (NSString *) principalClass;
00069 
00070 - (void) setAuthors: (NSArray *) anArray;
00071 - (NSArray *) authors;
00072 
00073 - (void) setCopyright: (NSString *) aCopyright;
00074 - (NSString *) copyright;
00075 
00076 - (void) setCopyrightDescription: (NSString *) aCopyrightDescription;
00077 - (NSString *) copyrightDescription;
00078 
00079 @end