From f9496cf6e26300f343939782809d5b320440368e Mon Sep 17 00:00:00 2001 From: svntcreutz Date: Tue, 4 Sep 2007 21:31:19 +0000 Subject: some space/tab changes and some changes for a LineNode git-svn-id: file:///home/tobias/sandbox/vdr/--/vdr-pkg/vdr-pkg/menuorg/trunk@6123 cd0d6b48-d4f9-0310-940f-ab8c4eb44d3f --- src/linemenunode.cpp | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 src/linemenunode.cpp (limited to 'src/linemenunode.cpp') diff --git a/src/linemenunode.cpp b/src/linemenunode.cpp new file mode 100644 index 0000000..89e4590 --- /dev/null +++ b/src/linemenunode.cpp @@ -0,0 +1,51 @@ +/* + * vdr-menuorg - A plugin for the Linux Video Disk Recorder + * Copyright (C) 2007 Thomas Creutz, Tobias Grimm + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * $Id$ + * + */ + +#include "linemenunode.h" +#include "imenunodeprocessor.h" + +using namespace std; + +LineMenuNode::LineMenuNode(std::string text) +{ + _text = text; +} + +void LineMenuNode::Process(IMenuNodeProcessor* menuNodeProcessor) +{ + menuNodeProcessor->ProcessCommandMenuNode(this); +} + +bool LineMenuNode::IsHidden() +{ + return false; +} + +cOsdMenu* LineMenuNode::Execute() +{ + return NULL; +} + +string LineMenuNode::Text() +{ + return _text; +} \ No newline at end of file -- cgit v1.2.3