xref: /haiku/src/preferences/screensaver/ScreenSaverItem.h (revision 17889a8c70dbb3d59c1412f6431968753c767bab)
1 /*
2  * Copyright 2005-2013 Haiku, Inc. All Rights Reserved
3  * Distributed under the terms of the MIT License.
4  *
5  * Authors:
6  *		Jérôme Duval, jerome.duval@free.fr
7  */
8 #ifndef SCREEN_SAVER_ITEM_H
9 #define SCREEN_SAVER_ITEM_H
10 
11 
12 #include <ListItem.h>
13 #include <String.h>
14 #include <Entry.h>
15 
16 
17 class ScreenSaverItem : public BStringItem {
18 public:
19 	ScreenSaverItem(const char* eventName, const char* path)
20 		: BStringItem(eventName), fPath(path) {}
21 
22 	const char* Path() const { return fPath.String(); }
23 
24 private:
25 	BString fPath;
26 };
27 
28 
29 #endif	// SCREEN_SAVER_ITEM_H
30