~ubuntu-branches/ubuntu/wily/qgis/wily

« back to all changes in this revision

Viewing changes to src/core/qgsprovidermetadata.h

  • Committer: Bazaar Package Importer
  • Author(s): Johan Van de Wauw
  • Date: 2010-07-11 20:23:24 UTC
  • mfrom: (3.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100711202324-5ktghxa7hracohmr
Tags: 1.4.0+12730-3ubuntu1
* Merge from Debian unstable (LP: #540941).
* Fix compilation issues with QT 4.7
* Add build-depends on libqt4-webkit-dev 

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 *   (at your option) any later version.                                   *
16
16
 *                                                                         *
17
17
 ***************************************************************************/
18
 
 /* $Id: qgsprovidermetadata.h 4502 2006-01-08 01:18:20Z timlinux $ */
19
 
 
 
18
/* $Id$ */
 
19
 
20
20
#ifndef QGSPROVIDERMETADATA_H
21
21
#define QGSPROVIDERMETADATA_H
22
22
 
23
23
 
24
 
#include <qstring.h>
25
 
 
26
 
 
27
 
/** holds data provider key, description, and associated shared library file information
 
24
#include <QString>
 
25
 
 
26
/** \ingroup core
 
27
 * Holds data provider key, description, and associated shared library file information.
28
28
 
29
29
   The metadata class is used in a lazy load implementation in
30
30
   QgsProviderRegistry.  To save memory, data providers are only actually
35
35
   library object.
36
36
 
37
37
 */
38
 
class QgsProviderMetadata
 
38
class CORE_EXPORT QgsProviderMetadata
39
39
{
40
 
public:
 
40
  public:
41
41
 
42
 
    QgsProviderMetadata(QString const & _key, QString const & _description, QString const & _library);
 
42
    QgsProviderMetadata( QString const & _key, QString const & _description, QString const & _library );
43
43
 
44
44
    /** this returns the unique key associated with the provider
45
45
 
59
59
    */
60
60
    QString const & library() const;
61
61
 
62
 
private:
63
 
    
 
62
  private:
 
63
 
64
64
    /// unique key for data provider
65
65
    QString key_;
66
66