diff options
Diffstat (limited to 'src/ivicore/qiviserviceinterface.cpp')
-rw-r--r-- | src/ivicore/qiviserviceinterface.cpp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/ivicore/qiviserviceinterface.cpp b/src/ivicore/qiviserviceinterface.cpp index 5cd24a4..fd602aa 100644 --- a/src/ivicore/qiviserviceinterface.cpp +++ b/src/ivicore/qiviserviceinterface.cpp @@ -56,8 +56,35 @@ QT_BEGIN_NAMESPACE \sa qobject_cast */ +/*! + \class QIviServiceInterface + \inmodule QtIviCore + \brief Interface class for services. + + The QIviServiceInterface class defines the interface of services registered with QIviServiceManager. + + Commonly, service objects inherit the concrete class QIviServiceObject instead of using QIviServiceInterface directly. + + \sa QIviServiceObject +*/ + +/*! + Destructs the QIviServiceInterface instance. +*/ QIviServiceInterface::~QIviServiceInterface() { } +/*! + \fn QStringList QIviServiceInterface::interfaces() const + + Returns a list of service interface names supported by the service object instance. +*/ + +/*! + \fn QObject* QIviServiceInterface::interfaceInstance(const QString& interface) const + + Returns an object implementing the service interface requested through \a interface. +*/ + QT_END_NAMESPACE |