diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-06-11 17:47:25 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-06-11 18:16:23 (GMT) |
commit | 094280d3a9cc10252f50f1787c14d08363db9f11 (patch) | |
tree | 6ed36debda59a67d1f8053333864af927789f8bb /Swift/Controllers/MainController.h | |
parent | d020f1078d7fe4d0f85c967a45b22ae38c2adc66 (diff) | |
download | swift-contrib-094280d3a9cc10252f50f1787c14d08363db9f11.zip swift-contrib-094280d3a9cc10252f50f1787c14d08363db9f11.tar.bz2 |
Back off reconnects after an error.
Resolves: #342
Diffstat (limited to 'Swift/Controllers/MainController.h')
-rw-r--r-- | Swift/Controllers/MainController.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Swift/Controllers/MainController.h b/Swift/Controllers/MainController.h index ba96d3a..ad2cac8 100644 --- a/Swift/Controllers/MainController.h +++ b/Swift/Controllers/MainController.h @@ -81,6 +81,7 @@ namespace Swift { void handleInputIdleChanged(bool); void logout(); void signOut(); + void setReconnectTimer(); void performLoginFromCachedCredentials(); void reconnectAfterError(); @@ -130,5 +131,7 @@ namespace Swift { bool useDelayForLatency_; MUCSearchController* mucSearchController_; MUCSearchWindowFactory* mucSearchWindowFactory_; + int timeBeforeNextReconnect_; + BoostTimer* reconnectTimer_; }; } |