diff options
author | Tomas Junnonen <tomas.junnonen@nokia.com> | 2010-04-12 13:50:25 +0300 |
---|---|---|
committer | Tomas Junnonen <tomas.junnonen@nokia.com> | 2010-04-12 13:52:31 +0300 |
commit | da73676c8a5af66b55523a9cdfbfbea2baa88a2a (patch) | |
tree | 0a3b8933a1817c152116da5fa8a7b5cdd8102e60 /mservicemapper/mservicemapper_p.h | |
parent | 8832674482d3b9a7fcf77b0cfdcb8e6fe4960b4d (diff) |
Changes: Renamed dui to meegotouch
By: Holger, Daniel, Janne
RevBy: Tomas, Holger
Diffstat (limited to 'mservicemapper/mservicemapper_p.h')
-rw-r--r-- | mservicemapper/mservicemapper_p.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/mservicemapper/mservicemapper_p.h b/mservicemapper/mservicemapper_p.h new file mode 100644 index 00000000..6b629bc7 --- /dev/null +++ b/mservicemapper/mservicemapper_p.h @@ -0,0 +1,46 @@ +/*************************************************************************** +** +** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (directui@nokia.com) +** +** This file is part of libmeegotouch. +** +** If you have questions regarding the use of this file, please contact +** Nokia at directui@nokia.com. +** +** This library is free software; you can redistribute it and/or +** modify it under the terms of the GNU Lesser General Public +** License version 2.1 as published by the Free Software Foundation +** and appearing in the file LICENSE.LGPL included in the packaging +** of this file. +** +****************************************************************************/ + +#ifndef MSERVICEMAPPERPRIVATE_H +#define MSERVICEMAPPERPRIVATE_H + +#include <QString> +#include <QStringList> +#include <QMap> +#include <QList> +#include <QFileSystemWatcher> + +class MServiceMapperPrivate +{ +public: + struct ServiceInfo { + QString service; + QString interface; + }; + QMap<QString, ServiceInfo> serviceFileInfo; + QList<QStringList> serviceFileList; + QFileSystemWatcher watcher; + QString serviceFileDir; +public: + QStringList fillServiceFileList() const; + bool fileExistsAndReadable(const QString &fileName) const; + QIODevice *accessFile(const QString &fileName) const; +}; + +#endif |