blob: fa7dc4359a4c93ead42c7db673ef0a261a352944 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
package de.bjusystems.vdrmanager.tasks;
import android.app.Activity;
import de.bjusystems.vdrmanager.R;
import de.bjusystems.vdrmanager.data.Timer;
import de.bjusystems.vdrmanager.gui.CertificateProblemDialog;
import de.bjusystems.vdrmanager.utils.svdrp.SetTimerClient;
import de.bjusystems.vdrmanager.utils.svdrp.SetTimerClient.TimerOperation;
public abstract class CreateTimerTask extends AsyncProgressTask<Timer> {
public CreateTimerTask(final Activity activity, final Timer timer) {
super(activity, new SetTimerClient(timer, TimerOperation.CREATE, new CertificateProblemDialog(activity)) {
@Override
public int getProgressTextId() {
return R.string.progress_timer_save;
}
});
}
}
|