@@ -40,12 +40,12 @@ * @brief A class which provides functions to read, write and manipulate files. */ @interface OFFile: OFSeekableStream { int _fd; - BOOL _closable; - BOOL _atEndOfStream; + bool _closable; + bool _atEndOfStream; } /*! * @brief Creates a new OFFile with the specified path and mode. * @@ -91,19 +91,19 @@ * @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 */ -+ (BOOL)fileExistsAtPath: (OFString*)path; ++ (bool)fileExistsAtPath: (OFString*)path; /*! * @brief Checks whether a directory exists at the specified path. * * @param path The path to check * @return A boolean whether there is a directory at the specified path */ -+ (BOOL)directoryExistsAtPath: (OFString*)path; ++ (bool)directoryExistsAtPath: (OFString*)path; /*! * @brief Creates a directory at the specified path. * * @param path The path of the directory @@ -115,11 +115,11 @@ * * @param path The path of the directory * @param createParents Whether to create the parents of the directory */ + (void)createDirectoryAtPath: (OFString*)path - createParents: (BOOL)createParents; + createParents: (bool)createParents; /*! * @brief Returns an array with the files in the specified directory. * * @param path The path of the directory