summaryrefslogtreecommitdiff
path: root/noncore/net/opieirc/ircoutput.cpp
blob: aa57d8617674c906a3a834f1aaa80470b897b58a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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);
}