@@ -32,10 +32,11 @@ # define OF_FILE_MANAGER_SUPPORTS_SYMLINKS #endif @class OFArray OF_GENERIC(ObjectType); @class OFDate; +@class OFURL; /*! * @class OFFileManager OFFileManager.h ObjFW/OFFileManager.h * * @brief A class which provides management for files, e.g. reading contents of @@ -52,10 +53,17 @@ * * @return The path of the current working directory */ - (OFString *)currentDirectoryPath; +/*! + * @brief Returns the URL for the current working directory. + * + * @return The URL of the current working directory + */ +- (OFURL *)currentDirectoryURL; + /*! * @brief Checks whether a file exists at the specified path. * * @param path The path to check * @return A boolean whether there is a file at the specified path