//
// This file is part of the Marble Desktop Globe.
//
// This program is free software licensed under the GNU LGPL. You can
// find a copy of this license in LICENSE.txt in the top directory of
// the source code.
//
// Copyright 2006-2008 Torsten Rahn <tackat@kde.org>"
//


#ifndef PLUGINMANAGER_H
#define PLUGINMANAGER_H

#include <QtCore/QObject>

class MarbleLayerInterface;

/**
 * @short The class that handles Marble's plugins.
 *
 */

class PluginManager : public QObject
{
    Q_OBJECT

 public:
    explicit PluginManager(QObject *parent = 0);
    ~PluginManager();

    QList<MarbleLayerInterface *> layerInterfaces() const;

 public Q_SLOTS:
    /**
     * @brief Browses the plugin directories and installs plugins. 
     *
     * This method browses all plugin directories and installs all  
     * plugins found in there.
     */
    void loadPlugins();

 private:
    Q_DISABLE_COPY( PluginManager )
    QList<MarbleLayerInterface *> m_layerInterfaces;
};


#endif // PLUGINMANAGER_H

//
// This file is part of the Marble Desktop Globe.
//
// This program is free software licensed under the GNU LGPL. You can
// find a copy of this license in LICENSE.txt in the top directory of
// the source code.
//
// Copyright 2006-2008 Torsten Rahn <tackat@kde.org>"
//


#ifndef PLUGINMANAGER_H
#define PLUGINMANAGER_H

#include <QtCore/QObject>
#include "marble_export.h"
class MarbleLayerInterface;

/**
 * @short The class that handles Marble's plugins.
 *
 */

class MARBLE_EXPORT PluginManager : public QObject
{
    Q_OBJECT

 public:
    explicit PluginManager(QObject *parent = 0);
    ~PluginManager();

    QList<MarbleLayerInterface *> layerInterfaces() const;

 public Q_SLOTS:
    /**
     * @brief Browses the plugin directories and installs plugins. 
     *
     * This method browses all plugin directories and installs all  
     * plugins found in there.
     */
    void loadPlugins();

 private:
    Q_DISABLE_COPY( PluginManager )
    QList<MarbleLayerInterface *> m_layerInterfaces;
};


#endif // PLUGINMANAGER_H

Fix export (needs for test program)
Fix export (needs for test program)

svn path=/trunk/KDE/kdeedu/marble/; revision=818952
