diff --git a/app/src/main/java/pl/szczodrzynski/edziennik/api/v2/events/task/ServerSyncTask.kt b/app/src/main/java/pl/szczodrzynski/edziennik/api/v2/events/task/ServerSyncTask.kt new file mode 100644 index 00000000..90bfee83 --- /dev/null +++ b/app/src/main/java/pl/szczodrzynski/edziennik/api/v2/events/task/ServerSyncTask.kt @@ -0,0 +1,25 @@ +/* + * Copyright (c) Kuba SzczodrzyƄski 2019-12-7. + */ + +package pl.szczodrzynski.edziennik.api.v2.events.task + +import pl.szczodrzynski.edziennik.App +import pl.szczodrzynski.edziennik.R +import pl.szczodrzynski.edziennik.api.v2.interfaces.EdziennikCallback + +class ServerSyncTask : IApiTask(-1) { + override fun prepare(app: App) { + taskName = app.getString(R.string.edziennik_notification_api_notify_title) // TODO text + } + + override fun cancel() { + + } + + fun run(app: App, taskCallback: EdziennikCallback) { + + + taskCallback.onCompleted() + } +} \ No newline at end of file