mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 02:00:05 +00:00 
			
		
		
		
	rename files to marker instead of poi
This commit is contained in:
		
							parent
							
								
									27828943f4
								
							
						
					
					
						commit
						da271c326a
					
				
					 3 changed files with 0 additions and 0 deletions
				
			
		
							
								
								
									
										41
									
								
								scwx-qt/source/scwx/qt/manager/marker_manager.hpp
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										41
									
								
								scwx-qt/source/scwx/qt/manager/marker_manager.hpp
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,41 @@ | |||
| #pragma once | ||||
| 
 | ||||
| #include <scwx/qt/types/poi_types.hpp> | ||||
| 
 | ||||
| #include <string> | ||||
| 
 | ||||
| #include <QObject> | ||||
| 
 | ||||
| namespace scwx | ||||
| { | ||||
| namespace qt | ||||
| { | ||||
| namespace manager | ||||
| { | ||||
| 
 | ||||
| class POIManager : public QObject | ||||
| { | ||||
|    Q_OBJECT | ||||
| 
 | ||||
| public: | ||||
|    explicit POIManager(); | ||||
|    ~POIManager(); | ||||
| 
 | ||||
|    size_t poi_count(); | ||||
|    types::PointOfInterest get_poi(size_t index); | ||||
|    types::PointOfInterest get_poi(const std::string& name); | ||||
|    void set_poi(size_t index, const types::PointOfInterest& poi); | ||||
|    void set_poi(const std::string& name, const types::PointOfInterest& poi); | ||||
|    void add_poi(const types::PointOfInterest& poi); | ||||
|    void move_poi(size_t from, size_t to); | ||||
| 
 | ||||
|    static std::shared_ptr<POIManager> Instance(); | ||||
| 
 | ||||
| private: | ||||
|    class Impl; | ||||
|    std::unique_ptr<Impl> p; | ||||
| }; | ||||
| 
 | ||||
| } // namespace manager
 | ||||
| } // namespace qt
 | ||||
| } // namespace scwx
 | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 AdenKoperczak
						AdenKoperczak