Simplify header inclusion

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29669 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2010-02-19 08:12:46 +00:00
parent 4d95ad4f42
commit d605c6f7b5
185 changed files with 245 additions and 425 deletions

View file

@ -24,12 +24,11 @@
*/
#import "config.h"
#import "common.h"
#include <string.h>
#ifndef NeXT_Foundation_LIBRARY
#import "Foundation/NSException.h"
#import "Foundation/NSRange.h"
#import "Foundation/NSString.h"
#else
#import <Foundation/Foundation.h>
#endif

View file

@ -24,10 +24,9 @@
*/
#import "config.h"
#import "common.h"
#ifndef NeXT_Foundation_LIBRARY
#import "Foundation/NSException.h"
#import "Foundation/NSString.h"
#else
#import <Foundation/Foundation.h>
#endif

View file

@ -28,11 +28,10 @@
*/
#import "config.h"
#import "common.h"
#ifndef NeXT_Foundation_LIBRARY
#import "Foundation/NSAutoreleasePool.h"
#import "Foundation/NSNotification.h"
#import "Foundation/NSString.h"
#import "Foundation/NSThread.h"
#else
#import <Foundation/Foundation.h>

View file

@ -23,7 +23,7 @@
Boston, MA 02111 USA.
*/
#import "config.h"
#import "common.h"
#include <objc/objc-class.h>
#import "GNUstepBase/GCObject.h"

View file

@ -26,16 +26,14 @@
$Date$ $Revision$
*/
#import "config.h"
#import "common.h"
#import "GNUstepBase/preface.h"
#import "GNUstepBase/GSFunctions.h"
#ifndef NeXT_Foundation_LIBRARY
#import "Foundation/NSArray.h"
#import "Foundation/NSDebug.h"
#import "Foundation/NSEnumerator.h"
#import "Foundation/NSException.h"
#import "Foundation/NSFileManager.h"
#import "Foundation/NSString.h"
#else
#import <Foundation/Foundation.h>
#endif

View file

@ -23,14 +23,12 @@
*/
#import "config.h"
#import "common.h"
#import "Foundation/NSDictionary.h"
#import "Foundation/NSAutoreleasePool.h"
#import "Foundation/NSEnumerator.h"
#import "Foundation/NSString.h"
#import "Foundation/NSException.h"
#import "Foundation/NSPortCoder.h"
#import "Foundation/NSDebug.h"
// For private method _decodeArrayOfObjectsForKey:
#import "Foundation/NSKeyedArchiver.h"

View file

@ -25,7 +25,7 @@
$Date$ $Revision$
*/
#import "config.h"
#import "common.h"
#define EXPOSE_GSLock_IVARS 1
#import "Foundation/NSException.h"
#import "Foundation/NSLock.h"

View file

@ -51,7 +51,7 @@
$Date$ $Revision$
*/
#import "config.h"
#import "common.h"
#define EXPOSE_GSMimeDocument_IVARS 1
#define EXPOSE_GSMimeHeader_IVARS 1
#define EXPOSE_GSMimeParser_IVARS 1
@ -63,12 +63,10 @@
#import "Foundation/NSAutoreleasePool.h"
#import "Foundation/NSCharacterSet.h"
#import "Foundation/NSData.h"
#import "Foundation/NSDebug.h"
#import "Foundation/NSDictionary.h"
#import "Foundation/NSEnumerator.h"
#import "Foundation/NSException.h"
#import "Foundation/NSScanner.h"
#import "Foundation/NSString.h"
#import "Foundation/NSUserDefaults.h"
#import "Foundation/NSValue.h"
#import "GNUstepBase/GSMime.h"

View file

@ -23,7 +23,7 @@
Boston, MA 02111 USA.
*/
#include "config.h"
#include "common.h"
#include <stdio.h>
#include "GNUstepBase/preface.h"
#ifndef ROUND

View file

@ -29,7 +29,7 @@
$Date$ $Revision$
*/
#import "config.h"
#import "common.h"
#import "GNUstepBase/preface.h"
#ifndef NeXT_Foundation_LIBRARY
#import "Foundation/NSArray.h"
@ -41,9 +41,7 @@
#import "Foundation/NSLock.h"
#import "Foundation/NSMethodSignature.h"
#import "Foundation/NSNull.h"
#import "Foundation/NSObjCRuntime.h"
#import "Foundation/NSSet.h"
#import "Foundation/NSString.h"
#import "Foundation/NSValue.h"
#else
#import <Foundation/Foundation.h>

View file

@ -40,7 +40,7 @@
</chapter>
*/
#import "config.h"
#import "common.h"
#import "GNUstepBase/preface.h"
#import "GNUstepBase/Unicode.h"
@ -61,7 +61,6 @@
#import "Foundation/NSException.h"
#import "Foundation/NSFileManager.h"
#import "Foundation/NSRunLoop.h"
#import "Foundation/NSString.h"
#import "Foundation/NSTimer.h"
#import "Foundation/NSTimeZone.h"
#import "Foundation/NSURL.h"
@ -4123,10 +4122,8 @@ static BOOL warned = NO; if (warned == NO) { warned = YES; NSLog(@"WARNING, use
#else
#ifndef NeXT_Foundation_LIBRARY
#import "Foundation/NSObjCRuntime.h"
#import "Foundation/NSCoder.h"
#import "Foundation/NSInvocation.h"
#import "Foundation/NSString.h"
#else
#import <Foundation/Foundation.h>
#endif

View file

@ -22,7 +22,7 @@
Boston, MA 02111 USA.
*/
#import "config.h"
#import "common.h"
#import "Foundation/NSException.h"
#import "GNUstepBase/NSArray+GNUstepBase.h"
#import "GSPrivate.h"

View file

@ -22,8 +22,7 @@
Boston, MA 02111 USA.
*/
#import "config.h"
#import "Foundation/NSDebug.h"
#import "common.h"
#import "Foundation/NSException.h"
#import "GNUstepBase/NSAttributedString+GNUstepBase.h"

View file

@ -23,7 +23,7 @@
Boston, MA 02111 USA.
*/
#import "config.h"
#import "common.h"
#import "Foundation/NSArray.h"
#import "Foundation/NSEnumerator.h"
#import "Foundation/NSException.h"

View file

@ -22,7 +22,7 @@
Boston, MA 02111 USA.
*/
#import "config.h"
#import "common.h"
#import "Foundation/NSAutoreleasePool.h"
#import "GNUstepBase/NSCalendarDate+GNUstepBase.h"

View file

@ -22,7 +22,7 @@
Boston, MA 02111 USA.
*/
#import "config.h"
#import "common.h"
#import "Foundation/NSAutoreleasePool.h"
#import "Foundation/NSByteOrder.h"
#import "Foundation/NSException.h"

View file

@ -26,9 +26,7 @@
$Date: 2010-02-17 11:47:06 +0000 (Wed, 17 Feb 2010) $ $Revision: 29657 $
*/
#import "config.h"
#import "Foundation/NSDebug.h"
#import "Foundation/NSString.h"
#import "common.h"
#import "GNUstepBase/NSDebug+GNUstepBase.h"
NSString*

View file

@ -22,7 +22,7 @@
Boston, MA 02111 USA.
*/
#import "config.h"
#import "common.h"
#import "Foundation/NSDictionary.h"
#import "Foundation/NSError.h"
#import "GSPrivate.h"

View file

@ -22,7 +22,7 @@
Boston, MA 02111 USA.
*/
#import "config.h"
#import "common.h"
#import "Foundation/NSByteOrder.h"
#import "Foundation/NSHost.h"
#import "GSNetwork.h"

View file

@ -22,7 +22,7 @@
Boston, MA 02111 USA.
*/
#import "config.h"
#import "common.h"
#import "Foundation/NSException.h"
#import "GNUstepBase/NSLock+GNUstepBase.h"
#import "GNUstepBase/GSLock.h"

View file

@ -22,7 +22,7 @@
Boston, MA 02111 USA.
*/
#import "config.h"
#import "common.h"
#include <string.h>
#import "Foundation/NSException.h"

View file

@ -22,7 +22,7 @@
Boston, MA 02111 USA.
*/
#import "config.h"
#import "common.h"
#import "GNUstepBase/NSNumber+GNUstepBase.h"
/**

View file

@ -22,7 +22,7 @@
Boston, MA 02111 USA.
*/
#import "config.h"
#import "common.h"
#import "Foundation/NSException.h"
#import "GNUstepBase/NSObject+GNUstepBase.h"

View file

@ -24,11 +24,9 @@
*/
#import "config.h"
#import "common.h"
#import "Foundation/NSArray.h"
#import "Foundation/NSDebug.h"
#import "Foundation/NSSet.h"
#import "Foundation/NSString.h"
#import "GNUstepBase/NSProcessInfo+GNUstepBase.h"
@implementation NSProcessInfo(GNUstepBase)

View file

@ -22,7 +22,7 @@
Boston, MA 02111 USA.
*/
#import "config.h"
#import "common.h"
#include <string.h>
#import "Foundation/NSException.h"
#import "GNUstepBase/NSString+GNUstepBase.h"

View file

@ -22,7 +22,7 @@
Boston, MA 02111 USA.
*/
#import "config.h"
#import "common.h"
#import "Foundation/NSFileManager.h"
#import "Foundation/NSPathUtilities.h"
#import "Foundation/NSProcessInfo.h"

View file

@ -23,7 +23,7 @@
$Date: 2010-02-17 11:47:06 +0000 (Wed, 17 Feb 2010) $ $Revision: 29657 $
*/
#import "config.h"
#import "common.h"
#if defined(__APPLE__)

View file

@ -25,8 +25,7 @@
#ifndef GNUSTEP
#import "config.h"
#import "Foundation/NSString.h"
#import "common.h"
#import "GNUstepBase/NSURL+GNUstepBase.h"
@implementation NSURL (GNUstepBase)

View file

@ -28,14 +28,13 @@
Boston, MA 02111 USA.
*/
#import "config.h"
#import "common.h"
#ifndef NeXT_Foundation_LIBRARY
#import "Foundation/NSArray.h"
#import "Foundation/NSBundle.h"
#import "Foundation/NSDictionary.h"
#import "Foundation/NSError.h"
#import "Foundation/NSException.h"
#import "Foundation/NSString.h"
#import "Foundation/NSLock.h"
#import "Foundation/NSPathUtilities.h"
#else

View file

@ -49,13 +49,11 @@
*/
#import "config.h"
#import "common.h"
#include <stdio.h>
#import "GNUstepBase/preface.h"
#import "GNUstepBase/behavior.h"
#ifndef NeXT_Foundation_LIBRARY
#import "Foundation/NSException.h"
#import "Foundation/NSString.h"
#else
#import <Foundation/Foundation.h>
#endif