ScreenSaver: Convert ScreenSaverItem.h to utf-8 encoding

For some reason this file was encoded as a MacRoman or some sort
of high ASCII non utf-8 encoding that made my editor sad.

Also, update the copyright and style while I'm at it.
This commit is contained in:
John Scipione 2013-09-05 14:08:19 -04:00
parent 726e47bb80
commit 4843382d02

View File

@ -1,13 +1,13 @@
/* /*
* Copyright 2005, Haiku. * Copyright 2005-2013 Haiku, Inc. All Rights Reserved
* Distributed under the terms of the MIT License. * Distributed under the terms of the MIT License.
* *
* Authors: * Authors:
* Jérôme Duval, jerome.duval@free.fr * Jérôme Duval, jerome.duval@free.fr
*/ */
#ifndef SCREEN_SAVER_ITEM_H
#define SCREEN_SAVER_ITEM_H
#ifndef __SCREENSAVERITEM_H__
#define __SCREENSAVERITEM_H__
#include <ListItem.h> #include <ListItem.h>
#include <String.h> #include <String.h>
@ -16,13 +16,14 @@
class ScreenSaverItem : public BStringItem { class ScreenSaverItem : public BStringItem {
public: public:
ScreenSaverItem(const char* event_name,const char* path) ScreenSaverItem(const char* eventName, const char* path)
: BStringItem(event_name), fPath(path) { : BStringItem(eventName), fPath(path) {}
} const char* Path() const { return fPath.String(); }
const char* Path() const { return fPath.String();}
private: private:
BString fPath; BString fPath;
}; };
#endif
#endif // SCREEN_SAVER_ITEM_H