mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-17 11:38:51 +01:00
Implement logic to export messages to json
This commit is contained in:
+2
-2
@@ -18,8 +18,8 @@
|
||||
*/
|
||||
package com.moez.QKSMS.model
|
||||
|
||||
data class Backup(
|
||||
data class BackupFile(
|
||||
val date: Long,
|
||||
val messages: List<Long>,
|
||||
val messages: Int,
|
||||
val size: Long
|
||||
)
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
package com.moez.QKSMS.repository
|
||||
|
||||
import com.moez.QKSMS.model.Backup
|
||||
import com.moez.QKSMS.model.BackupFile
|
||||
import io.reactivex.Observable
|
||||
|
||||
interface BackupRepository {
|
||||
@@ -35,7 +35,7 @@ interface BackupRepository {
|
||||
/**
|
||||
* Returns a list of all local backups
|
||||
*/
|
||||
fun getBackups(): Observable<List<Backup>>
|
||||
fun getBackups(): Observable<List<BackupFile>>
|
||||
|
||||
fun performRestore()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user