mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Create DiveSummary class in backend-shared and make the DiveSummary calculation results available to QML. This adds a loop over all dives (could have been done with a model, but the models available to mobile are very limited, so use the basic way). [Dirk Hohndel: renamed the results variable and combined a couple of commits] Signed-off-by: jan Iversen <jan@casacondor.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			302 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			302 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| # backend functionality shared between Desktop (UI) and Mobile (QML)
 | |
| 
 | |
| set(BACKEND_SRCS
 | |
| 	divesummary.cpp
 | |
| 	exportfuncs.cpp
 | |
| 	exportfuncs.h
 | |
| 	plannershared.cpp
 | |
| 	plannershared.h
 | |
| )
 | |
| 
 | |
| add_library(subsurface_backend_shared STATIC ${BACKEND_SRCS})
 | |
| target_link_libraries(subsurface_backend_shared ${QT_LIBRARIES})
 |