#include "BALBase.h"
#include <time.h>
#include <wtf/Platform.h>
Namespaces | |
| namespace | OWBAL |
Typedefs | |
| typedef struct __CFData * | CFDataRef |
Functions | |
| bool | OWBAL::fileExists (const String &) |
| Check wether a files exists. | |
| bool | OWBAL::deleteFile (const String &) |
| Delete a file. | |
| bool | OWBAL::deleteEmptyDirectory (const String &) |
| Remove an empty directory. | |
| bool | OWBAL::getFileSize (const String &, long long &result) |
| Retrieve the size of a file. | |
| bool | OWBAL::getFileModificationTime (const String &, time_t &result) |
| Retrieve the last modification time for a file. | |
| String | OWBAL::pathByAppendingComponent (const String &path, const String &component) |
| Concatenate a path with a component. | |
| bool | OWBAL::makeAllDirectories (const String &path) |
| Create a/some directory/ies. | |
| String | OWBAL::homeDirectoryPath () |
| Retrieve the user home directory. | |
| String | OWBAL::pathGetFileName (const String &) |
| Retrieve the basename from a filename. | |
| String | OWBAL::directoryName (const String &) |
| Retrieve the directory name. | |
| CString | OWBAL::fileSystemRepresentation (const String &) |
| Get the filesystem representation. | |
| bool | OWBAL::isHandleValid (const PlatformFileHandle &handle) |
| Check if a handle is valid. | |
| CString | OWBAL::openTemporaryFile (const char *prefix, PlatformFileHandle &) |
| Create a temporary file. | |
| void | OWBAL::closeFile (PlatformFileHandle &) |
| Close a file. | |
| int | OWBAL::writeToFile (PlatformFileHandle, const char *data, int length) |
| Write some data to a file. | |
| bool | OWBAL::unloadModule (PlatformModule) |
| Unload a module. | |
| typedef struct __CFData* CFDataRef |