#include "survey.h"
Go to the source code of this file.
Functions | |
Plugin * | contruct_survey (BotKernel *b) |
void | destroy_survey (Plugin *p) |
bool | stopSurvey (Message *m, Plugin *p, BotKernel *b) |
bool | endSurvey (Message *m, Plugin *p, BotKernel *b) |
bool | vote (Message *m, Plugin *p, BotKernel *b) |
bool | launchSurvey (Message *m, Plugin *p, BotKernel *b) |
Definition in file survey.cpp.
Definition at line 238 of file survey.cpp.
void destroy_survey | ( | Plugin * | p | ) |
Definition at line 242 of file survey.cpp.
Definition at line 269 of file survey.cpp.
References Survey::finishSurvey(), Message::getSource(), Survey::getSurveyFunctions(), BotKernel::send(), IRCProtocol::sendMsg(), and BotKernel::unregisterFunction().
Referenced by launchSurvey().
Definition at line 290 of file survey.cpp.
References BotKernel::addCountDown(), endSurvey(), BotKernel::getCONFF(), Message::getMessage(), Plugin::getName(), Message::getNickSender(), Message::getSource(), ConfigurationFile::getValue(), IN_COMMAND_HANDLER, Tools::intToStr(), Tools::isInVector(), Message::isPublic(), Survey::launchSurvey(), prefix(), BotKernel::registerFunction(), BotKernel::send(), IRCProtocol::sendMsg(), IRCProtocol::sendNotice(), Survey::setCountDown(), Survey::setSurveyFunctions(), Survey::stopSurvey(), Tools::stringToVector(), Tools::strtimeToSeconds(), Tools::strToUnsignedInt(), Tools::vectorToString(), and vote().
Definition at line 246 of file survey.cpp.
References Survey::getCountDown(), Message::getNickSender(), BotKernel::getPlugin(), Message::getSender(), Message::getSource(), Survey::getSurveyFunctions(), Message::isPublic(), Admin::isSuperAdmin(), pPlugin::object, BotKernel::send(), IRCProtocol::sendMsg(), IRCProtocol::sendNotice(), Survey::stopSurvey(), and BotKernel::unregisterFunction().
Definition at line 280 of file survey.cpp.
References BotKernel::getCONFF(), Message::getNickSender(), Message::getPart(), Message::getSource(), ConfigurationFile::getValue(), Message::isPublic(), BotKernel::send(), IRCProtocol::sendNotice(), and Survey::vote().
Referenced by launchSurvey().