X-Git-Url: http://git.maemo.org/git/?p=jenirok;a=blobdiff_plain;f=src%2Fdaemon%2Fcalllistener.h;fp=src%2Fdaemon%2Fcalllistener.h;h=cf4795306a6fdb19ea338d7cdca7f3b2273bf2d1;hp=2ec5b7f68e4602803c25e6fa6aba925f8189151d;hb=387ac6a1d3ba54999b43007bd9ba665cf095c3be;hpb=94566e419af13fa4c7c3f6decb3d6b42759b8679 diff --git a/src/daemon/calllistener.h b/src/daemon/calllistener.h index 2ec5b7f..cf47953 100644 --- a/src/daemon/calllistener.h +++ b/src/daemon/calllistener.h @@ -40,8 +40,10 @@ public: 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 CONNECTION_LOOKUP_RETRIES = 10; + 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,9 +65,8 @@ private: void searchClose(); bool handleConnection(); void showError(QString const& msg, int delay = 0); - void sleep(int ms); - void findGprsId(); bool is3g(); + void sleep(int ms); QString createResult(QString const& name, QString const& street, QString const& city); QString timedMessage_; Source* source_; @@ -79,7 +80,6 @@ private: int retries_; QString currentSearch_; int timer_; - QString gprsId_; }; #endif // CALLLISTENER_H