~ubuntu-branches/ubuntu/quantal/qgis/quantal

« back to all changes in this revision

Viewing changes to providers/grass/provider.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Steve Halasz
  • Date: 2005-11-05 16:04:45 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20051105160445-l0g4isz5bc9yehet
Tags: 0.7.4-1
* New upstream release
* Build GRASS support in qgis-plugin-grass package (Closes: #248649)

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
* Class factory to return a pointer to a newly created 
45
45
* QgsGrassProvider object
46
46
*/
47
 
extern "C" QgsGrassProvider * classFactory(const char *uri)
 
47
extern "C" QgsGrassProvider * classFactory(const QString *uri)
48
48
{
49
 
    return new QgsGrassProvider(uri);
 
49
    return new QgsGrassProvider(*uri);
50
50
}
51
51
/** Required key function (used to map the plugin to a data store type)
52
52
*/