summaryrefslogtreecommitdiffstats
path: root/malloryclient/embeddata.cpp
blob: 3ae94d9bb68ea0e1f65c2f25c59e9800fcc9ea08 (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
//
// C++ Implementation: embeddata
//
// Description:
//
//
// Author: Remi Villatel <maxilys@tele2.fr>, (C) 2005
//
// Copyright: See COPYING file that comes with this distribution
//
//

#include "embeddata.h"

void qInitImages_KWinMallory()
{
    if ( !factory ) {
	factory = new MimeSourceFactory_KWinMallory;
	TQMimeSourceFactory::defaultFactory()->addFactory( factory );
    }
}

void qCleanupImages_KWinMallory()
{
    if ( factory ) {
	TQMimeSourceFactory::defaultFactory()->removeFactory( factory );
	delete factory;
	factory = 0;
    }
}