The Sword Project: sword::InstallMgr Class Reference |
#include <installmgr.h>
Collaboration diagram for sword::InstallMgr:
Public Member Functions | |
InstallMgr (const char *privatePath="./", StatusReporter *statusReporter=0) | |
virtual int | removeModule (SWMgr *manager, const char *modName) |
virtual int | ftpCopy (InstallSource *is, const char *src, const char *dest, bool dirTransfer=false, const char *suffix="") |
virtual int | installModule (SWMgr *destMgr, const char *fromLocation, const char *modName, InstallSource *is=0) |
virtual int | refreshRemoteSource (InstallSource *is) |
virtual bool | getCipherCode (const char *modName, SWConfig *config) |
void | setFTPPassive (bool passive) |
void | terminate () |
bool | isDefaultModule (const char *modName) |
Static Public Member Functions | |
static std::map< SWModule *, int > | getModuleStatus (const SWMgr &base, const SWMgr &other) |
Public Attributes | |
SWConfig * | installConf |
InstallSourceMap | sources |
bool | term |
Static Public Attributes | |
static const int | MODSTAT_OLDER |
static const int | MODSTAT_SAMEVERSION |
static const int | MODSTAT_UPDATED |
static const int | MODSTAT_NEW |
static const int | MODSTAT_CIPHERED |
static const int | MODSTAT_CIPHERKEYPRESENT |
Protected Member Functions | |
virtual FTPTransport * | createFTPTransport (const char *host, StatusReporter *statusReporter) |
Protected Attributes | |
std::set< SWBuf > | defaultMods |
char * | privatePath |
StatusReporter * | statusReporter |
bool | passive |
FTPTransport * | transport |
Definition at line 41 of file installmgr.h.
The SWORD Project; P. O. Box 2528; Tempe, AZ 85280-2528 USA |