1 /* 2 * GSPropertyListSerialization.m 3 * 4 * Copyright (C) 2003,2004 Free Software Foundation, Inc. 5 * Written by: Richard Frith-Macdonald <rfm@gnu.org> 6 * Fred Kiefer <FredKiefer@gmx.de> 7 * Modifications by: Georg Fleischmann 8 * 9 * This class has been extracted from the GNUstep implementation of 10 * NSPropertyList to achieve best compatibility of the Property List 11 * formats between Mac OS X, GNUstep, OpenStep... 12 * 13 * This library is free software; you can redistribute it and/or 14 * modify it under the terms of the GNU Library 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 * created: 2008-03-06 (extracted from NSPropertyList.m) 19 * modified: 2008-03-08 20 */ 21 22 #ifndef GS_H_PLSERIALIZATION 23 #define GS_H_PLSERIALIZATION 24 25 #include <Foundation/Foundation.h> 26 27 #define NSPropertyListGNUstepFormat 1000 28 29 @interface GSPropertyListSerialization:NSObject 30 { 31 } 32 33 + (NSData*)dataFromPropertyList:(id)plist 34 format:(NSPropertyListFormat)format 35 errorDescription:(NSString**)errorString; 36 37 + (NSString*)stringFromPropertyList:(id)plist; 38 39 @end 40 41 #endif // GS_H_PLSERIALIZATION 42