mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 07:50:05 +00:00 
			
		
		
		
	Position manager updates for tracking
This commit is contained in:
		
							parent
							
								
									400db66f09
								
							
						
					
					
						commit
						18f500fe5f
					
				
					 3 changed files with 29 additions and 17 deletions
				
			
		|  | @ -25,11 +25,15 @@ public: | |||
| 
 | ||||
|    QGeoPositionInfo position() const; | ||||
| 
 | ||||
|    void TrackLocation(boost::uuids::uuid uuid, bool trackingEnabled); | ||||
|    bool IsLocationTracked(); | ||||
| 
 | ||||
|    void EnablePositionUpdates(boost::uuids::uuid uuid, bool enabled); | ||||
|    void TrackLocation(bool trackingEnabled); | ||||
| 
 | ||||
|    static std::shared_ptr<PositionManager> Instance(); | ||||
| 
 | ||||
| signals: | ||||
|    void LocationTrackingChanged(bool trackingEnabled); | ||||
|    void PositionUpdated(const QGeoPositionInfo& info); | ||||
| 
 | ||||
| private: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat