apps-gorm/GormPalettesManager.h
Gregory John Casamento e8e0f1d5d0 Correction for a couple of minor issues.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@20397 72102866-910b-0410-8b05-ffd578937521
2004-11-30 04:51:19 +00:00

63 lines
2.1 KiB
Objective-C

/* GormPalettesManager.h
*
* Copyright (C) 1999, 2003 Free Software Foundation, Inc.
*
* Author: Gregory John Casamento <greg_casamento@yahoo.com>
* Author: Richard Frith-Macdonald <richard@brainstrom.co.uk>
* Date: 1999, 2003
*
* This file is part of GNUstep.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#ifndef INCLUDED_GormPalettesManager_h
#define INCLUDED_GormPalettesManager_h
#include <Foundation/NSObject.h>
@class NSMutableArray, NSMutableDictionary, NSDictionary, NSArray, NSBundle;
@class NSPanel, NSMatrix, NSView;
@interface GormPalettesManager : NSObject
{
NSPanel *panel;
NSMatrix *selectionView;
NSView *dragView;
NSMutableArray *bundles;
NSMutableArray *palettes;
int current;
BOOL hiddenDuringTest;
NSMutableDictionary *importedClasses;
NSMutableArray *importedImages;
NSMutableArray *importedSounds;
}
// methods for loading and display the palette panels
- (BOOL) loadPalette: (NSString*)path;
- (id) openPalette: (id) sender;
- (NSPanel*) panel;
- (void) setCurrentPalette: (id)anObject;
// methods for importing stuff from palettes
- (void) importClasses: (NSArray *)classes withDictionary: (NSDictionary *)dict;
- (NSDictionary *) importedClasses;
- (void) importImages: (NSArray *)images withBundle: (NSBundle *) bundle;
- (NSArray *) importedImages;
- (void) importSounds: (NSArray *)sounds withBundle: (NSBundle *) bundle;
- (NSArray *) importedSounds;
@end
#endif