kdcopservicestarter.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
#ifndef KDCOPSERVICESTARTER_H
00020
#define KDCOPSERVICESTARTER_H
00021
00022
#include <qstring.h>
00023
#include <kstaticdeleter.h>
00024
00025
class KDCOPServiceStarter;
00026
class QCString;
00027
00034 class KDCOPServiceStarter {
00035
friend class KStaticDeleter<KDCOPServiceStarter>;
00036
public:
00037
00038
static KDCOPServiceStarter*
self();
00039
00061
int findServiceFor(
const QString& serviceType,
00062
const QString& constraint = QString::null,
00063
const QString& preferences = QString::null,
00064
QString *error=0,
QCString* dcopService=0,
00065
int flags=0 );
00066
00089
virtual int startServiceFor(
const QString& serviceType,
00090
const QString& constraint = QString::null,
00091
const QString& preferences = QString::null,
00092
QString *error=0,
QCString* dcopService=0,
00093
int flags=0 );
00094
protected:
00095 KDCOPServiceStarter();
00096
virtual ~KDCOPServiceStarter();
00097
00098
private:
00099
static KDCOPServiceStarter* s_self;
00100 };
00101
00102
#endif
00103
This file is part of the documentation for kio Library Version 3.3.0.