Make UEFI boot-platform build again
[haiku.git] / src / servers / launch / AbstractEmptyDirectoryJob.h
blob5c7a1ec932c5fa8edd1e0bb9cb9f7dbc7e8e2d6c
1 /*
2 * Copyright 2015, Axel Dörfler, axeld@pinc-software.de.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef ABSTRACT_EMPTY_DIRECTORY_JOB_H
6 #define ABSTRACT_EMPTY_DIRECTORY_JOB_H
9 #include <Job.h>
12 class BEntry;
15 class AbstractEmptyDirectoryJob : public BSupportKit::BJob {
16 public:
17 AbstractEmptyDirectoryJob(const BString& name);
19 protected:
20 status_t CreateAndEmpty(const char* path) const;
22 private:
23 status_t _EmptyDirectory(BEntry& directoryEntry,
24 bool remove) const;
28 #endif // ABSTRACT_EMPTY_DIRECTORY_JOB_H