summaryrefslogtreecommitdiff
path: root/include/installmgr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/installmgr.h')
-rw-r--r--include/installmgr.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/installmgr.h b/include/installmgr.h
index 56ebf7e..56f879a 100644
--- a/include/installmgr.h
+++ b/include/installmgr.h
@@ -2,7 +2,7 @@
*
* installmgr.h - Implementation of InstallMgr
*
- * $Id: installmgr.h 2833 2013-06-29 06:40:28Z chrislit $
+ * $Id: installmgr.h 3515 2017-11-01 11:38:09Z scribe $
*
* Copyright 2002-2013 CrossWire Bible Society (http://www.crosswire.org)
* CrossWire Bible Society
@@ -76,6 +76,7 @@ protected:
StatusReporter *statusReporter;
bool passive;
SWBuf u, p;
+ bool unverifiedPeerAllowed;
/** override this method and provide your own custom RemoteTransport subclass
*/
@@ -236,7 +237,8 @@ A sample implementation, roughly taken from the windows installmgr:
return false;
}
*/
- virtual bool getCipherCode(const char *modName, SWConfig *config) { (void) modName; (void) config; return false; }
+
+ virtual bool getCipherCode(const char *modName, SWConfig *config) { (void) modName; (void) config; return false; }
@@ -245,6 +247,9 @@ A sample implementation, roughly taken from the windows installmgr:
void setFTPPassive(bool passive) { this->passive = passive; }
bool isFTPPassive() { return passive; }
+ void setUnverifiedPeerAllowed(bool allowed) { this->unverifiedPeerAllowed = allowed; }
+ bool isUnverifiedPeerAllowed() { return unverifiedPeerAllowed; }
+
/** call from another thread to terminate the installation process
*/
void terminate();