ProjectManager
0.2
|
00001 /* 00002 ProjectAttributes.h 00003 00004 Interface declaration of the ProjectAttributes class for the 00005 ProjectManager application. 00006 00007 Copyright (C) 2005 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 "../../ProjectModule.h" 00025 00026 @class NSDictionary, 00027 NSBox, 00028 NSNotification; 00029 00030 @class ProjectDocument; 00031 00032 @protocol ProjectAttributesDelegate; 00033 00034 @interface ProjectAttributes : NSObject <ProjectModule> 00035 { 00036 // weak references 00037 ProjectDocument * document; 00038 id <ProjectAttributesDelegate> delegate; 00039 00040 id bogusWindow; 00041 00042 NSBox * view; 00043 00044 id generalBogusWindow; 00045 id generalView; 00046 id projectName; 00047 id projectType; 00048 00049 // This variable holds a cached list of toolbar item identifiers 00050 // for toolbar items of the delegate. Each of these items is 00051 // prepended with @"ProjectAttributesDelegateItem: " so as to make 00052 // sure that it doesn't mess with the toolbar machinery. 00053 NSArray * delegateItemIdentifiers; 00054 } 00055 00056 - (void) switchView: sender; 00057 - (void) showGeneralAttributes: sender; 00058 - (void) changeProjectName: sender; 00059 00060 - (void) projectNameChanged: (NSNotification *) notif; 00061 00062 @end