diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2012-10-12 20:17:41 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:45:23 +0300 |
commit | ca29b9e478b433d1a5d1a7a4385410467e97785f (patch) | |
tree | 495139e98cfe42412cff7397884061416b9ac957 /qt/mainwindow.hpp | |
parent | f81ed7bd00ca324c400288d0a2df86151d9989cc (diff) |
refactored Location and Compass observers mechanism.
Diffstat (limited to 'qt/mainwindow.hpp')
-rw-r--r-- | qt/mainwindow.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/qt/mainwindow.hpp b/qt/mainwindow.hpp index 9ff7d65048..abcb0589be 100644 --- a/qt/mainwindow.hpp +++ b/qt/mainwindow.hpp @@ -23,6 +23,7 @@ namespace qt QDockWidget * m_Docks[3]; + bool m_isFirstLocation; scoped_ptr<location::LocationService> m_locationService; Q_OBJECT @@ -31,8 +32,8 @@ namespace qt MainWindow(); virtual ~MainWindow(); - virtual void OnLocationStatusChanged(location::TLocationStatus newStatus); - virtual void OnGpsUpdated(location::GpsInfo const & info); + virtual void OnLocationError(location::TLocationError errorCode); + virtual void OnLocationUpdated(location::GpsInfo const & info); protected: string GetIniFile(); |