#76 added sessionDAO
This commit is contained in:
		
							parent
							
								
									1e767d22a4
								
							
						
					
					
						commit
						8a7e1e4c2c
					
				
					 1 changed files with 11 additions and 0 deletions
				
			
		|  | @ -1,4 +1,15 @@ | ||||||
| package be.ugent.sel.studeez.domain | package be.ugent.sel.studeez.domain | ||||||
| 
 | 
 | ||||||
|  | import be.ugent.sel.studeez.data.local.models.SessionReport | ||||||
|  | import be.ugent.sel.studeez.data.local.models.timer_info.TimerInfo | ||||||
|  | import kotlinx.coroutines.flow.Flow | ||||||
|  | 
 | ||||||
| interface SessionDAO { | interface SessionDAO { | ||||||
|  | 
 | ||||||
|  |     fun getSessions(): Flow<List<SessionReport>> | ||||||
|  | 
 | ||||||
|  |     fun saveSession(newSessionReport: SessionReport) | ||||||
|  | 
 | ||||||
|  |     fun deleteSession(newTimer: TimerInfo) | ||||||
|  | 
 | ||||||
| } | } | ||||||
		Reference in a new issue
	
	 Lukas Barragan Torres
						Lukas Barragan Torres