1
/***************************************************************************
4
begin : 24, August 2005
5
copyright : (C) 2005 by Mark Coletti
6
email : mcoletti -> gmail.com
7
***************************************************************************/
9
/***************************************************************************
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
16
***************************************************************************/
18
#include "qgsdatamanager.h"
19
#include "qgsmaplayer.h"
20
#include "qgsvectordataprovider.h"
21
#include "qgsproviderregistry.h"
25
static const char* const ident_ = "$Id: qgsdatamanager.cpp 4502 2006-01-08 01:18:20Z timlinux $";
29
QgsDataManager * QgsDataManager::instance_ = 0x0;
32
QgsDataManager::QgsDataManager()
34
} // QgsDataManager ctor
38
QgsDataManager::~QgsDataManager()
44
} // QgsDataManager dtor
50
QgsDataManager::instance()
54
instance_ = new QgsDataManager;
58
} // QgsDataManager::instance()
62
bool QgsDataManager::openVector( QString const & name )
64
// find the default provider that can handle the given name
66
// note that we may already have the provider
68
// create a QgsDataSourceLayer for the provider
70
} // QgsDataManager::openVector
74
bool QgsDataManager::openVector( QString const & name, QgsDataProvider & provider )
77
} // QgsDataManager::openVector
81
bool QgsDataManager::openRaster( QString const & name )
84
} // QgsDataManager::openRaster
88
bool QgsDataManager::openRaster( QString const & name, QgsDataProvider & provider )
91
} // QgsDataManager::openRaster