diff options
Diffstat (limited to 'WebCore/platform/FileSystem.h')
-rw-r--r-- | WebCore/platform/FileSystem.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/WebCore/platform/FileSystem.h b/WebCore/platform/FileSystem.h index d2a3011..da31281 100644 --- a/WebCore/platform/FileSystem.h +++ b/WebCore/platform/FileSystem.h @@ -30,12 +30,6 @@ #ifndef FileSystem_h #define FileSystem_h -#if PLATFORM(GTK) -#include <gmodule.h> -#endif - -#include <time.h> - #include <wtf/Platform.h> typedef const struct __CFData* CFDataRef; @@ -47,38 +41,10 @@ class String; #if PLATFORM(WIN) typedef HANDLE PlatformFileHandle; -typedef FILETIME PlatformFileTime; -typedef HMODULE PlatformModule; const PlatformFileHandle invalidPlatformFileHandle = INVALID_HANDLE_VALUE; - -struct PlatformModuleVersion { - unsigned leastSig; - unsigned mostSig; - - PlatformModuleVersion(unsigned) - : leastSig(0) - , mostSig(0) - { - } - - PlatformModuleVersion(unsigned lsb, unsigned msb) - : leastSig(lsb) - , mostSig(msb) - { - } - -}; #else typedef int PlatformFileHandle; -typedef time_t PlatformFileTime; -#if PLATFORM(GTK) -typedef GModule* PlatformModule; -#else -typedef void* PlatformModule; -#endif const PlatformFileHandle invalidPlatformFileHandle = -1; - -typedef unsigned PlatformModuleVersion; #endif bool fileExists(const String&); @@ -89,7 +55,6 @@ bool getFileModificationTime(const String&, time_t& result); String pathByAppendingComponent(const String& path, const String& component); bool makeAllDirectories(const String& path); String homeDirectoryPath(); -String pathGetFileName(const String&); CString fileSystemRepresentation(const String&); @@ -100,9 +65,6 @@ CString openTemporaryFile(const char* prefix, PlatformFileHandle&); void closeFile(PlatformFileHandle&); int writeToFile(PlatformFileHandle, const char* data, int length); -// Methods for dealing with loadable modules -bool unloadModule(PlatformModule); - #if PLATFORM(WIN) String localUserSpecificStorageDirectory(); String roamingUserSpecificStorageDirectory(); |