1 /* 2 * Copyright 2005, Haiku. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * J�r�me Duval, jerome.duval@free.fr 7 */ 8 9 #ifndef __SCREENSAVERITEM_H__ 10 #define __SCREENSAVERITEM_H__ 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* event_name,const char* path) 20 : BStringItem(event_name), fPath(path) { 21 22 } 23 24 const char* Path() const { return fPath.String();} 25 private: 26 BString fPath; 27 }; 28 #endif 29