/** Win32 Utilities functions for GNUStep Copyright (C) 2004 Free Software Foundation, Inc. Written by: Sheldon Gill Date: 2004 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. AutogsdocSource: Win32_Utilities.m */ #ifndef _GNUSTEP_WIN32_UTILITIES_H /* TODO: - Win32GetUserProfileDirectory() Find profile directory for non-current user. - Win32FindDirectory() NOT IMPLEMENTED YET! -Win32NSNumberFromRegistry() NOT IMPLEMENTED YET! -Win32NSDataFromRegistry() NOT IMPLEMENTED YET! */ #if defined(__WIN32__) /* ---- Init Functions ---- */ void Win32InitialiseUtilities(void); void Win32ShutdownUtilities(void); /* ---- Environment Functions ---- */ NSString *Win32NSStringFromEnvironmentVariable(const char * envVar); /* ---- Registry Functions ---- */ HKEY Win32OpenRegistry(DWORD hive, const char *key); NSString *Win32NSStringFromRegistry(HKEY regkey, const char *regValue); // NSNumber *Win32NSNumberFromRegistry(HKEY regkey, const char *regValue); // NSData *Win32NSDataFromRegistry(HKEY regkey, const char *regValue); /* ---- Path Functions ---- */ NSString *Win32GetUserProfileDirectory(NSString *userName); NSString *Win32FindDirectory( DWORD DirCLSID ); #endif // defined(__WIN32__) #endif