summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/ui/kopeteview.cpp
blob: 111f1405b1e9760fbb88305c2a6b46389952cf53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/*
    kopeteview.cpp - View Abstract Class

    Copyright (c) 2003 by Jason Keirstead
    Copyright (c) 2003 by Olivier Goffart   <ogoffart @ kde.org>
    Kopete    (c) 2002-2003 by the Kopete developers <kopete-devel@kde.org>

    *************************************************************************
    *                                                                       *
    * This library is free software; you can redistribute it and/or         *
    * modify it under the terms of the GNU Lesser General Public            *
    * License as published by the Free Software Foundation; either          *
    * version 2 of the License, or (at your option) any later version.      *
    *                                                                       *
    *************************************************************************
*/

#include "kopeteview.h"

KopeteView::KopeteView( Kopete::ChatSession *manager, Kopete::ViewPlugin *plugin )
    : m_manager(manager), m_plugin(plugin)
{
}

Kopete::ChatSession *KopeteView::msgManager() const
{
	return m_manager;
}

void KopeteView::clear()
{
	//Do nothing
}

void KopeteView::appendMessages(TQValueList<Kopete::Message> msgs)
{
	TQValueList<Kopete::Message>::iterator it;
	for ( it = msgs.begin(); it != msgs.end(); ++it )
	{
		appendMessage(*it);
	}

}

Kopete::ViewPlugin *KopeteView::plugin()
{
	return m_plugin;
}

KopeteView::~ KopeteView( )
{
}