docs/ikteam: Delete most files.
[haiku.git] / src / servers / launch / Utility.h
blob385dd28edc083f313c7c108469291d06a84eecd1
1 /*
2 * Copyright 2015, Axel Dörfler, axeld@pinc-software.de.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef UTILITY_H
6 #define UTILITY_H
9 #include <String.h>
12 namespace Utility {
13 bool IsReadOnlyVolume(dev_t device);
14 bool IsReadOnlyVolume(const char* path);
16 status_t BlockMedia(const char* path, bool block);
17 status_t EjectMedia(const char* path);
19 BString TranslatePath(const char* path);
23 #endif // UTILITY_H