From d478be344e2ba383a1e38d2a1705de1cdbe2e838 Mon Sep 17 00:00:00 2001 From: wazlaf Date: Tue, 10 Sep 2002 23:12:17 +0000 Subject: initial import of OpieIRC v0.1 --- (limited to 'noncore/net/opieirc/ircoutput.cpp') diff --git a/noncore/net/opieirc/ircoutput.cpp b/noncore/net/opieirc/ircoutput.cpp new file mode 100644 index 0000000..aa57d86 --- a/dev/null +++ b/noncore/net/opieirc/ircoutput.cpp @@ -0,0 +1,22 @@ +#include "ircoutput.h" + +IRCOutput::IRCOutput(IRCOutputType type, QString message) { + m_type = type; + m_message = message; +} + +IRCOutputType IRCOutput::type() { + return m_type; +} + +QString IRCOutput::message() { + return m_message; +} + +void IRCOutput::addParam(void *data) { + m_parameters.append(data); +} + +void *IRCOutput::getParam(int index) { + return m_parameters.at(index); +} -- cgit v0.9.0.2