mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
More include tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29671 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
073595b9e9
commit
62011a8adf
23 changed files with 100 additions and 80 deletions
|
@ -29,7 +29,6 @@
|
|||
#ifndef __NSObjCRuntime_h_GNUSTEP_BASE_INCLUDE
|
||||
#define __NSObjCRuntime_h_GNUSTEP_BASE_INCLUDE
|
||||
#import <GNUstepBase/GSVersionMacros.h>
|
||||
#import <GNUstepBase/preface.h>
|
||||
#import <GNUstepBase/GSConfig.h>
|
||||
|
||||
/* These typedefs must be in place before GSObjCRuntime.h is imported.
|
||||
|
|
|
@ -20,11 +20,12 @@
|
|||
|
||||
*/
|
||||
|
||||
#import "common.h"
|
||||
|
||||
#import "Foundation/NSAutoreleasePool.h"
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "Foundation/NSDictionary.h"
|
||||
#import "Foundation/NSSet.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "Foundation/NSUserDefaults.h"
|
||||
#import "AGSHtml.h"
|
||||
#import "GNUstepBase/GNUstep.h"
|
||||
|
|
|
@ -20,10 +20,11 @@
|
|||
|
||||
*/
|
||||
|
||||
#import "common.h"
|
||||
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "Foundation/NSAutoreleasePool.h"
|
||||
#import "Foundation/NSDictionary.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "AGSIndex.h"
|
||||
#import "GNUstepBase/GNUstep.h"
|
||||
#import "GNUstepBase/NSString+GNUstepBase.h"
|
||||
|
|
|
@ -20,6 +20,8 @@
|
|||
|
||||
*/
|
||||
|
||||
#import "common.h"
|
||||
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "Foundation/NSAutoreleasePool.h"
|
||||
#import "Foundation/NSCharacterSet.h"
|
||||
|
@ -28,7 +30,6 @@
|
|||
#import "Foundation/NSEnumerator.h"
|
||||
#import "Foundation/NSFileManager.h"
|
||||
#import "Foundation/NSPathUtilities.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "Foundation/NSUserDefaults.h"
|
||||
#import "AGSOutput.h"
|
||||
#import "GNUstepBase/GNUstep.h"
|
||||
|
|
|
@ -18,6 +18,8 @@
|
|||
|
||||
*/
|
||||
|
||||
#import "common.h"
|
||||
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "Foundation/NSAutoreleasePool.h"
|
||||
#import "Foundation/NSCharacterSet.h"
|
||||
|
@ -27,7 +29,6 @@
|
|||
#import "Foundation/NSException.h"
|
||||
#import "Foundation/NSFileManager.h"
|
||||
#import "Foundation/NSSet.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "Foundation/NSUserDefaults.h"
|
||||
#import "Foundation/NSValue.h"
|
||||
#import "AGSParser.h"
|
||||
|
|
|
@ -24,12 +24,15 @@
|
|||
* See the HTMLLinker.html file for documentation on how to use the tool.
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#import "common.h"
|
||||
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "Foundation/NSAutoreleasePool.h"
|
||||
#import "Foundation/NSFileManager.h"
|
||||
#import "Foundation/NSPathUtilities.h"
|
||||
#import "Foundation/NSProcessInfo.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "Foundation/NSUserDefaults.h"
|
||||
|
||||
/* For convenience, cached for the whole tool. */
|
||||
|
|
|
@ -597,18 +597,19 @@
|
|||
|
||||
*/
|
||||
|
||||
#import <config.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#import <Foundation/NSArray.h>
|
||||
#import <Foundation/NSAutoreleasePool.h>
|
||||
#import <Foundation/NSDictionary.h>
|
||||
#import <Foundation/NSEnumerator.h>
|
||||
#import <Foundation/NSFileManager.h>
|
||||
#import <Foundation/NSPathUtilities.h>
|
||||
#import <Foundation/NSProcessInfo.h>
|
||||
#import <Foundation/NSSet.h>
|
||||
#import <Foundation/NSString.h>
|
||||
#import <Foundation/NSUserDefaults.h>
|
||||
#import "common.h"
|
||||
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "Foundation/NSAutoreleasePool.h"
|
||||
#import "Foundation/NSDictionary.h"
|
||||
#import "Foundation/NSEnumerator.h"
|
||||
#import "Foundation/NSFileManager.h"
|
||||
#import "Foundation/NSPathUtilities.h"
|
||||
#import "Foundation/NSProcessInfo.h"
|
||||
#import "Foundation/NSSet.h"
|
||||
#import "Foundation/NSUserDefaults.h"
|
||||
|
||||
#import "AGSParser.h"
|
||||
#import "AGSOutput.h"
|
||||
|
|
|
@ -18,14 +18,16 @@
|
|||
|
||||
*/
|
||||
|
||||
#import "config.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
#import "common.h"
|
||||
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "Foundation/NSData.h"
|
||||
#import "Foundation/NSException.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "Foundation/NSProcessInfo.h"
|
||||
#import "Foundation/NSUserDefaults.h"
|
||||
#import "Foundation/NSDebug.h"
|
||||
#import "Foundation/NSFileHandle.h"
|
||||
#import "Foundation/NSAutoreleasePool.h"
|
||||
#ifdef NeXT_Foundation_LIBRARY
|
||||
|
|
|
@ -18,20 +18,19 @@
|
|||
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include <string.h>
|
||||
#include <GNUstepBase/preface.h>
|
||||
#include <Foundation/NSObject.h>
|
||||
#include <Foundation/NSArray.h>
|
||||
#include <Foundation/NSDictionary.h>
|
||||
#include <Foundation/NSEnumerator.h>
|
||||
#include <Foundation/NSException.h>
|
||||
#include <Foundation/NSString.h>
|
||||
#include <Foundation/NSProcessInfo.h>
|
||||
#include <Foundation/NSUserDefaults.h>
|
||||
#include <Foundation/NSDebug.h>
|
||||
#include <Foundation/NSAutoreleasePool.h>
|
||||
#include <Foundation/NSPathUtilities.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#import "common.h"
|
||||
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "Foundation/NSDictionary.h"
|
||||
#import "Foundation/NSEnumerator.h"
|
||||
#import "Foundation/NSException.h"
|
||||
#import "Foundation/NSProcessInfo.h"
|
||||
#import "Foundation/NSUserDefaults.h"
|
||||
#import "Foundation/NSAutoreleasePool.h"
|
||||
#import "Foundation/NSPathUtilities.h"
|
||||
|
||||
#define GSEXIT_SUCCESS EXIT_SUCCESS
|
||||
#define GSEXIT_FAILURE EXIT_FAILURE
|
||||
|
|
10
Tools/gdnc.m
10
Tools/gdnc.m
|
@ -18,7 +18,12 @@
|
|||
|
||||
*/
|
||||
|
||||
#import "config.h"
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#import "common.h"
|
||||
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "Foundation/NSAutoreleasePool.h"
|
||||
#import "Foundation/NSBundle.h"
|
||||
|
@ -34,12 +39,9 @@
|
|||
#import "Foundation/NSPortNameServer.h"
|
||||
#import "Foundation/NSProcessInfo.h"
|
||||
#import "Foundation/NSRunLoop.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "Foundation/NSTask.h"
|
||||
#import "Foundation/NSUserDefaults.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#if defined(__MINGW32__)
|
||||
#include "process.h"
|
||||
|
|
|
@ -18,12 +18,12 @@
|
|||
|
||||
*/
|
||||
|
||||
#import "config.h"
|
||||
#import "common.h"
|
||||
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "Foundation/NSAutoreleasePool.h"
|
||||
#import "Foundation/NSPathUtilities.h"
|
||||
#import "Foundation/NSProcessInfo.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "Foundation/NSUserDefaults.h"
|
||||
|
||||
|
||||
|
|
|
@ -28,9 +28,12 @@
|
|||
#include <dirent.h>
|
||||
#include <ctype.h>
|
||||
#include <locale.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#import "Foundation/NSAutoreleasePool.h"
|
||||
#import "Foundation/NSDictionary.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "GNUstepBase/GSLocale.h"
|
||||
|
||||
#define MAXSTRING 100
|
||||
|
|
|
@ -19,11 +19,11 @@
|
|||
|
||||
*/
|
||||
|
||||
#include <Foundation/NSObject.h>
|
||||
#include <Foundation/NSString.h>
|
||||
#include <Foundation/NSArray.h>
|
||||
#include <Foundation/NSFileManager.h>
|
||||
#include <Foundation/NSDate.h>
|
||||
#import "common.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "Foundation/NSFileManager.h"
|
||||
#import "Foundation/NSDate.h"
|
||||
|
||||
#include "StringsFile.h"
|
||||
|
||||
|
|
|
@ -19,12 +19,14 @@
|
|||
|
||||
*/
|
||||
|
||||
#include <Foundation/NSObject.h>
|
||||
#include <Foundation/NSString.h>
|
||||
#include <Foundation/NSAutoreleasePool.h>
|
||||
#include <Foundation/NSDictionary.h>
|
||||
#include <Foundation/NSEnumerator.h>
|
||||
#include <Foundation/NSArray.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#import "common.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "Foundation/NSAutoreleasePool.h"
|
||||
#import "Foundation/NSDictionary.h"
|
||||
#import "Foundation/NSEnumerator.h"
|
||||
#import "Foundation/NSArray.h"
|
||||
|
||||
#include "make_strings.h"
|
||||
|
||||
|
|
|
@ -22,6 +22,10 @@
|
|||
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#import "common.h"
|
||||
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "Foundation/NSAutoreleasePool.h"
|
||||
#import "Foundation/NSData.h"
|
||||
|
@ -30,7 +34,6 @@
|
|||
#import "Foundation/NSFileManager.h"
|
||||
#import "Foundation/NSPathUtilities.h"
|
||||
#import "Foundation/NSProcessInfo.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "Foundation/NSUserDefaults.h"
|
||||
|
||||
void create_output(id propertyList)
|
||||
|
|
|
@ -19,6 +19,10 @@
|
|||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#import "common.h"
|
||||
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "Foundation/NSAutoreleasePool.h"
|
||||
#import "Foundation/NSData.h"
|
||||
|
@ -26,7 +30,6 @@
|
|||
#import "Foundation/NSException.h"
|
||||
#import "Foundation/NSFileManager.h"
|
||||
#import "Foundation/NSProcessInfo.h"
|
||||
#import "Foundation/NSString.h"
|
||||
|
||||
int
|
||||
main(int argc, char** argv, char **env)
|
||||
|
|
|
@ -18,14 +18,15 @@
|
|||
|
||||
*/
|
||||
|
||||
#import "config.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
#import "common.h"
|
||||
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "Foundation/NSData.h"
|
||||
#import "Foundation/NSException.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "Foundation/NSProcessInfo.h"
|
||||
#import "Foundation/NSUserDefaults.h"
|
||||
#import "Foundation/NSDebug.h"
|
||||
#import "Foundation/NSFileHandle.h"
|
||||
#import "Foundation/NSAutoreleasePool.h"
|
||||
|
||||
|
|
|
@ -18,15 +18,16 @@
|
|||
|
||||
*/
|
||||
|
||||
#import "config.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
#import "common.h"
|
||||
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "Foundation/NSData.h"
|
||||
#import "Foundation/NSDictionary.h"
|
||||
#import "Foundation/NSException.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "Foundation/NSProcessInfo.h"
|
||||
#import "Foundation/NSUserDefaults.h"
|
||||
#import "Foundation/NSDebug.h"
|
||||
#import "Foundation/NSFileHandle.h"
|
||||
#import "Foundation/NSAutoreleasePool.h"
|
||||
|
||||
|
|
|
@ -18,7 +18,10 @@
|
|||
|
||||
*/
|
||||
|
||||
#import "config.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
#import "common.h"
|
||||
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "Foundation/NSAutoreleasePool.h"
|
||||
#import "Foundation/NSData.h"
|
||||
|
@ -26,10 +29,7 @@
|
|||
#import "Foundation/NSException.h"
|
||||
#import "Foundation/NSFileManager.h"
|
||||
#import "Foundation/NSProcessInfo.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#ifdef NeXT_Foundation_LIBRARY
|
||||
#import "GNUstepBase/Additions.h"
|
||||
#endif
|
||||
|
||||
|
||||
/** <p> This tool merges text property lists into a single property list.
|
||||
|
|
|
@ -18,16 +18,17 @@
|
|||
|
||||
*/
|
||||
|
||||
#import "config.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
#import "common.h"
|
||||
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "Foundation/NSCharacterSet.h"
|
||||
#import "Foundation/NSData.h"
|
||||
#import "Foundation/NSDictionary.h"
|
||||
#import "Foundation/NSException.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "Foundation/NSProcessInfo.h"
|
||||
#import "Foundation/NSUserDefaults.h"
|
||||
#import "Foundation/NSDebug.h"
|
||||
#import "Foundation/NSAutoreleasePool.h"
|
||||
|
||||
/*
|
||||
|
|
|
@ -18,14 +18,15 @@
|
|||
|
||||
*/
|
||||
|
||||
#import "config.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
#import "common.h"
|
||||
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "Foundation/NSData.h"
|
||||
#import "Foundation/NSException.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "Foundation/NSProcessInfo.h"
|
||||
#import "Foundation/NSUserDefaults.h"
|
||||
#import "Foundation/NSDebug.h"
|
||||
#import "Foundation/NSFileHandle.h"
|
||||
#import "Foundation/NSAutoreleasePool.h"
|
||||
|
||||
|
|
|
@ -18,19 +18,18 @@
|
|||
|
||||
*/
|
||||
|
||||
#import "config.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
#import "common.h"
|
||||
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "Foundation/NSData.h"
|
||||
#import "Foundation/NSDictionary.h"
|
||||
#import "Foundation/NSException.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "Foundation/NSProcessInfo.h"
|
||||
#import "Foundation/NSUserDefaults.h"
|
||||
#import "Foundation/NSDebug.h"
|
||||
#import "Foundation/NSAutoreleasePool.h"
|
||||
#ifdef NeXT_Foundation_LIBRARY
|
||||
#import "GNUstepBase/Additions.h"
|
||||
#endif
|
||||
|
||||
int
|
||||
convert_unicode(NSArray *args)
|
||||
|
|
|
@ -20,20 +20,16 @@
|
|||
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#import "config.h"
|
||||
#import "common.h"
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "Foundation/NSAutoreleasePool.h"
|
||||
#import "Foundation/NSPathUtilities.h"
|
||||
#import "Foundation/NSProcessInfo.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "Foundation/NSUserDefaults.h"
|
||||
#ifdef NeXT_Foundation_LIBRARY
|
||||
#import "GNUstepBase/Additions.h"
|
||||
#else
|
||||
#import "GNUstepBase/GSXML.h"
|
||||
#endif
|
||||
|
||||
@interface GSXMLParser (Loader)
|
||||
+ (NSString*) loadEntity: (NSString*)publicId
|
||||
|
|
Loading…
Reference in a new issue