Line data Source code
1 0 : /* 2 : 3 : OOXMLExtensions.h 4 : 5 : Extensions to Foundation property list classes to export property lists in 6 : XML format, which both Cocoa and GNUstep can read. This is done because 7 : GNUstep defaults to writing a version of OpenStep text-based property lists 8 : that Cocoa can't understand. The XML format is understood by both 9 : implementations, although GNUstep complains about not being able to find the 10 : DTD. 11 : 12 : Oolite 13 : Copyright (C) 2004-2013 Giles C Williams and contributors 14 : 15 : This program is free software; you can redistribute it and/or 16 : modify it under the terms of the GNU General Public License 17 : as published by the Free Software Foundation; either version 2 18 : of the License, or (at your option) any later version. 19 : 20 : This program is distributed in the hope that it will be useful, 21 : but WITHOUT ANY WARRANTY; without even the implied warranty of 22 : MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 23 : GNU General Public License for more details. 24 : 25 : You should have received a copy of the GNU General Public License 26 : along with this program; if not, write to the Free Software 27 : Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 28 : MA 02110-1301, USA. 29 : 30 : */ 31 : 32 : 33 : #import <Foundation/Foundation.h> 34 : 35 : /* interfaces */ 36 : 37 : @interface NSDictionary (OOXMLExtensions) 38 : 39 0 : - (BOOL) writeOOXMLToFile:(NSString *)path atomically:(BOOL)flag errorDescription:(NSString **)outErrorDesc; 40 : 41 : @end