1 /* 2 NSBitmapImageRep+ICNS.m 3 4 Methods for loading .icns images. 5 6 Copyright (C) 2008 Free Software Foundation, Inc. 7 8 Written by: Gregory Casamento 9 Date: 2008-08-12 10 11 This file is part of the GNUstep GUI Library. 12 13 This library is free software; you can redistribute it and/or 14 modify it under the terms of the GNU Lesser General Public 15 License as published by the Free Software Foundation; either 16 version 2 of the License, or (at your option) any later version. 17 18 This library is distributed in the hope that it will be useful, 19 but WITHOUT ANY WARRANTY; without even the implied warranty of 20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 Lesser General Public License for more details. 22 23 You should have received a copy of the GNU Lesser General Public 24 License along with this library; see the file COPYING.LIB. 25 If not, see <http://www.gnu.org/licenses/> or write to the 26 Free Software Foundation, 51 Franklin Street, Fifth Floor, 27 Boston, MA 02110-1301, USA. 28 */ 29 30 #ifndef _NSBitmapImageRep_ICNS_H_include 31 #define _NSBitmapImageRep_ICNS_H_include 32 33 #import "AppKit/NSBitmapImageRep.h" 34 35 @interface NSBitmapImageRep (ICNS) 36 + (BOOL) _bitmapIsICNS: (NSData *)imageData; 37 + (NSArray*) _imageRepsWithICNSData: (NSData *)imageData; 38 - (id) _initBitmapFromICNS: (NSData *)imageData; 39 // - (NSData *) _ICNSRepresentationWithProperties: (NSDictionary *) properties; 40 @end 41 42 #endif 43