QGIS API Documentation  2.0.1-Dufour
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
qgspluginmanagerinterface.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgspluginmanagerinterface.h
3  --------------------------------------
4  Date : 15-May-2013
5  Copyright : (C) 2013 by Borys Jurgiel
6  Email : info at borysjurgiel dot pl
7 ****************************************************************************/
8 /***************************************************************************
9  * *
10  * This program is free software; you can redistribute it and/or modify *
11  * it under the terms of the GNU General Public License as published by *
12  * the Free Software Foundation; either version 2 of the License, or *
13  * (at your option) any later version. *
14  * *
15  ***************************************************************************/
16 
17 #ifndef QGSPLUGINMANAGERINTERFACE_H
18 #define QGSPLUGINMANAGERINTERFACE_H
19 
20 #include <QObject>
21 #include <QString>
22 #include <QMap>
23 
24 class GUI_EXPORT QgsPluginManagerInterface : public QObject
25 {
26  Q_OBJECT
27 
28  public:
29 
32 
34  virtual ~QgsPluginManagerInterface();
35 
37  virtual void clearPythonPluginMetadata() = 0;
38 
40  virtual void addPluginMetadata( QMap<QString, QString> metadata ) = 0;
41 
43  virtual void reloadModel() = 0;
44 
46  virtual const QMap<QString, QString> * pluginMetadata( QString key ) const = 0;
47 
49  virtual void clearRepositoryList() = 0;
50 
52  virtual void addToRepositoryList( QMap<QString, QString> repository ) = 0;
53 
55  virtual void showPluginManager( int tabIndex = -1 ) = 0;
56 
57 };
58 
59 #endif