1/*
2 * Copyright 2008 Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 *
5 * Authors:
6 *		Axel Dörfler, axeld@pinc-software.de
7 */
8#ifndef PATH_LIST_H
9#define PATH_LIST_H
10
11
12#include <ObjectList.h>
13
14
15class PathList {
16public:
17							PathList();
18							~PathList();
19
20			bool			HasPath(const char* path,
21								int32* _index = NULL) const;
22			status_t		AddPath(const char* path);
23			status_t		RemovePath(const char* path);
24
25			int32			CountPaths() const;
26			const char*		PathAt(int32 index) const;
27private:
28	struct path_entry;
29
30			BObjectList<path_entry> fPaths;
31};
32
33#endif	// _DEVICE_MANAGER_H
34