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 17class ScreenSaverItem : public BStringItem { 18public: 19 ScreenSaverItem(const char* eventName, const char* path) 20 : BStringItem(eventName), fPath(path) {} 21 22 const char* Path() const { return fPath.String(); } 23 24private: 25 BString fPath; 26}; 27 28 29#endif // SCREEN_SAVER_ITEM_H 30