summaryrefslogtreecommitdiffstats
path: root/xparts/src/interfaces/xpartmanager.h
blob: a172ee3f23164bda0805ab7f68c091a8bd851157 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef __xkparts_partmanager_h__
#define __xkparts_partmanager_h__

#include <dcopobject.h>
#include <qglobal.h>

class XKPartManager : public DCOPObject
{
    K_DCOP

k_dcop:
    /** Query a XPart able to handle a given mimetype */
    virtual DCOPRef createPart( QString servicetype ) = 0;

    /** Delete a previously created XPart */
    virtual void deletePart( DCOPRef ref ) = 0;
};


#endif