mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 06:30:05 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			33 lines
		
	
	
	
		
			665 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
	
		
			665 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #pragma once
 | |
| 
 | |
| #include <QMapboxGL>
 | |
| 
 | |
| namespace scwx
 | |
| {
 | |
| namespace qt
 | |
| {
 | |
| 
 | |
| class RadarLayerImpl;
 | |
| 
 | |
| class RadarLayer : public QMapbox::CustomLayerHostInterface
 | |
| {
 | |
| public:
 | |
|    explicit RadarLayer(std::shared_ptr<QMapboxGL> map);
 | |
|    ~RadarLayer();
 | |
| 
 | |
|    RadarLayer(const RadarLayer&) = delete;
 | |
|    RadarLayer& operator=(const RadarLayer&) = delete;
 | |
| 
 | |
|    RadarLayer(RadarLayer&&) noexcept;
 | |
|    RadarLayer& operator=(RadarLayer&&) noexcept;
 | |
| 
 | |
|    void initialize() override final;
 | |
|    void render(const QMapbox::CustomLayerRenderParameters&) override final;
 | |
|    void deinitialize() override final;
 | |
| 
 | |
| private:
 | |
|    std::unique_ptr<RadarLayerImpl> p;
 | |
| };
 | |
| 
 | |
| } // namespace qt
 | |
| } // namespace scwx
 | 
