mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
* Start on integrating Sheldon Gills NSPathUtilities patches.
* Headers/Foundation/NSPathUtilities.h: Depreciate GSSystemRootDirectory, GSStandardPathPrefixes. Add GSPreferencesDirectory to NSSearchPathDirectory enum. Enumerate NSSearchPathDomainMask values. * Headers/Additions/GNUStepBase/Win32Support.h, Headers/Additions/GNUStepBase/Win32_Utilites.h: New files. * Source/GNUmakefile: Add NSPathUtilities.m * Source/NSUser.m: Move everything in here... * Source/NSPathUtilities.m: to here. * Source/win32/GNUmakefile: Add Win32Support.m, Win32_Utilities.m * Source/win32Win32Support.m, Win32_Utilities.m: New files * Testing/nspathutilites.m: New file. (Files and patches from Sheldon Gill with minor modifications). git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20837 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
55b01ec39a
commit
26633b348b
12 changed files with 1700 additions and 1103 deletions
46
Source/win32/Win32Support.m
Normal file
46
Source/win32/Win32Support.m
Normal file
|
@ -0,0 +1,46 @@
|
|||
/* Useful support functions for GNUstep under MS-Windows
|
||||
Copyright (C) 2004-2005 Free Software Foundation, Inc.
|
||||
|
||||
Written by: Sheldon Gill <address@hidden>
|
||||
Created: Dec 2003
|
||||
|
||||
This file is part of the GNUstep Base Library.
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Library General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2 of the License, or (at your option) any later version.
|
||||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Library General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Library General Public
|
||||
License along with this library; if not, write to the Free
|
||||
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
|
||||
*/
|
||||
|
||||
#include "Win32_Utilities.h"
|
||||
//#include "Win32_FileManagement.h"
|
||||
|
||||
/*
|
||||
* Perform any and all necessary initialisation for supporting Win32
|
||||
* Called after first part of library initialisation so some Obj-C is okay
|
||||
*/
|
||||
void Win32Initialise(void)
|
||||
{
|
||||
/* We call the initialisation routines of all support modules in turn */
|
||||
Win32_Utilities_init();
|
||||
// Win32_FileManagement_init();
|
||||
}
|
||||
|
||||
/*
|
||||
* Free and finalise all things for supporting Win32
|
||||
*/
|
||||
void Win32Finalise(void)
|
||||
{
|
||||
/* We call the finalisation routines of all support modules in turn */
|
||||
Win32_Utilities_fini(void);
|
||||
// Win32_FileManagement_fini();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue