summaryrefslogtreecommitdiffstats
path: root/malloryclient/embeddata.cpp
blob: ec84f4e59d83ff3ab6ff0bd70b5a559745786037 (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;
	QMimeSourceFactory::defaultFactory()->addFactory( factory );
    }
}

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