blob: 9ebc57a61054eaf3a94ba8aaf140899b8a6196f8 (
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
53
54
55
56
57
58
59
|
/*
kopeteviewplugin.h - View Manager
Copyright (c) 2005 by Jason Keirstead <[email protected]>
Kopete (c) 2002-2005 by the Kopete developers <[email protected]>
*************************************************************************
* *
* 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. *
* *
*************************************************************************
*/
#ifndef KOPETEVIEWPLUGIN_H
#define KOPETEVIEWPLUGIN_H
#include "kopeteplugin.h"
class KopeteView;
namespace Kopete
{
class ChatSession;
/**
* @author Jason Keirstead
*
* @brief Factory plugin for creating KopeteView objects.
*
* Kopete ships with two of these currently, a Chat Window view plugin, and
* an Email Window view plugin.
*
*/
class KOPETE_EXPORT ViewPlugin : public Plugin
{
public:
/**
* @brief Create and initialize the plugin
*/
ViewPlugin( TDEInstance *instance, TQObject *parent = 0L, const char *name = 0L );
/**
* @brief Creates a view to be associated with the passed in session
*/
virtual KopeteView *createView( ChatSession * /*session*/ ){ return 0L; };
/**
* @brief Reimplemented from Kopete::Plugin
*/
virtual void aboutToUnload();
};
}
#endif
|