VgMyRemoteMapManager::VgMyRemoteMapManager |
( |
VgApplication::VgIApplication * |
pVgApplication, |
|
|
const VgMyRemoteMapManagerConfig & |
pConfig, |
|
|
const std::string & |
pLocalMapsDirectory, |
|
|
const std::string & |
pLocalTemporaryDirectory |
|
) |
| |
Handles downloading of maps from the mapmanager (and mapeditor)
- Parameters
-
pVgApplication | VgIApplication. Used to determine internal paths, and license information. |
pConfig | remote map manager configuration. |
pLocalMapsDirectory | local Directory where the maps will be downloaded. |
pLocalTemporaryDirectory | local temporary directory where the remote .zip file will be downloaded. |
virtual VgMyRemoteMapManager::~VgMyRemoteMapManager |
( |
| ) |
|
|
virtual |
bool VgMyRemoteMapManager::downloadMap |
( |
unsigned int |
pMapID | ) |
|
start downloading a remote map.
- Parameters
-
- Returns
- true if the request has been queued.
bool VgMyRemoteMapManager::getLocalConfigPathForMap |
( |
unsigned int |
pMapID, |
|
|
std::string & |
pOutConfigPath |
|
) |
| |
- Parameters
-
pMapID | map id of the relevant map. |
pOutConfigPath | output parameter that will contain the vg_config path for a given map id. |
- Returns
- true if the path exists and pOutConfigPath was filled.
bool VgMyRemoteMapManager::list |
( |
| ) |
|
Starts a list request.
- Returns
- false, if there is a network activity already in progress
bool VgMyRemoteMapManager::removeLocalMap |
( |
unsigned |
pMapID | ) |
|
bool VgMyRemoteMapManager::removeLocalMaps |
( |
| ) |
|
VgMyRemoteMapManagerImpl* VgMyRemoteMapManager::mPrivate |
|
protected |
The documentation for this class was generated from the following file: