sword::InstallMgr Class Reference

TODO: document. More...

#include <installmgr.h>

Collaboration diagram for sword::InstallMgr:

Collaboration graph
[legend]
List of all members.

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

SWConfiginstallConf
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 FTPTransportcreateFTPTransport (const char *host, StatusReporter *statusReporter)

Protected Attributes

std::set< SWBufdefaultMods
char * privatePath
StatusReporterstatusReporter
bool passive
FTPTransporttransport

Detailed Description

TODO: document.

Definition at line 41 of file installmgr.h.


The documentation for this class was generated from the following file: