summaryrefslogtreecommitdiff
path: root/vdrmanager/src/de/bjusystems/vdrmanager/tasks/CreateTimerTask.java
blob: f9ab94bb1a20f29d62f36398acf2d8542443f789 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package de.bjusystems.vdrmanager.tasks;

import android.app.Activity;
import de.bjusystems.vdrmanager.R;
import de.bjusystems.vdrmanager.data.Timer;
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) {
			@Override
			public int getProgressTextId() {
					return R.string.progress_timer_save;
				}
		});
	}
}