diff options
| author | svntcreutz <svntcreutz@cd0d6b48-d4f9-0310-940f-ab8c4eb44d3f> | 2007-09-04 21:31:19 +0000 |
|---|---|---|
| committer | svntcreutz <svntcreutz@cd0d6b48-d4f9-0310-940f-ab8c4eb44d3f> | 2007-09-04 21:31:19 +0000 |
| commit | f9496cf6e26300f343939782809d5b320440368e (patch) | |
| tree | eec696055ec52ef3625d55e621d74cd19257b371 /src/linemenunode.cpp | |
| parent | d0429697f1c909043b8d38a8836a5bdc1e4ae325 (diff) | |
| download | vdr-plugin-menuorg-f9496cf6e26300f343939782809d5b320440368e.tar.gz vdr-plugin-menuorg-f9496cf6e26300f343939782809d5b320440368e.tar.bz2 | |
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
Diffstat (limited to 'src/linemenunode.cpp')
| -rw-r--r-- | src/linemenunode.cpp | 51 |
1 files changed, 51 insertions, 0 deletions
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 |
