/* * SeperatorItem.cpp * * Created on: Dec 11, 2009 * Author: crueger */ #include #include #include "Menu/SeperatorItem.hpp" #include "Menu/Menu.hpp" #include "defs.hpp" SeperatorItem::SeperatorItem(Menu* menu): MenuItem('\0',"",menu), spacer(STD_SEPERATOR_SPACER), length(STD_MENU_LENGTH) { // TODO Auto-generated constructor stub } SeperatorItem::SeperatorItem(Menu* menu,char _spacer, int _length): MenuItem('\0',"",menu), spacer(_spacer), length(_length) { // TODO Auto-generated constructor stub } SeperatorItem::~SeperatorItem() { // TODO Auto-generated destructor stub } void SeperatorItem::doTrigger(){} bool SeperatorItem::checkTrigger(char){ return false; } const string SeperatorItem::getDescription() { return string(""); } const string SeperatorItem::formatEntry(){ stringstream s; for(int i=0; i