X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fdaemon%2Fcalllistener.h;h=cbc4698e81cb4aa76574ae021e1a2429f1574f8b;hb=c90925f1b3fcd64f3c5b3799a6caac3fd3a4f05a;hp=d842f81eee4732544fb06d90fb185a7b0dd2c747;hpb=d187495fd3566da1ee1eb94cc313c2f561a0fac5;p=jenirok diff --git a/src/daemon/calllistener.h b/src/daemon/calllistener.h index d842f81..cbc4698 100644 --- a/src/daemon/calllistener.h +++ b/src/daemon/calllistener.h @@ -39,9 +39,11 @@ public: static const int REQUEST_TIMEOUT = 10000; static const int BANNER_DELAY = 350; static const int SEARCH_RETRIES = 2; - static const int CONNECT_RETRIES = 3; - static const int CONNECTION_LOOKUP_RETRIES = 15; - static const int WAIT_BETWEEN_RETRIES = 1000; + static const int CONNECT_RETRIES = 2; + static const int CONNECTION_LOOKUP_RETRIES = 8; + static const int GPRS_SCANS = 2; + static const int WLAN_SCANS = 5; + static const int WAIT_BETWEEN_RETRIES = 500; static const int ERROR_BANNER_TIMEOUT = 4500; protected: @@ -63,7 +65,9 @@ private: void searchClose(); bool handleConnection(); void showError(QString const& msg, int delay = 0); + bool is3g(); void sleep(int ms); + void sendRetrySignal(QString const& iap, bool retry); QString createResult(QString const& name, QString const& street, QString const& city); QString timedMessage_; Source* source_;