mirror of https://github.com/tasks/tasks
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
832 B
Java
36 lines
832 B
Java
package com.todoroo.astrid.gtasks;
|
|
|
|
import com.timsu.astrid.R;
|
|
import com.todoroo.astrid.sync.SyncProviderUtilities;
|
|
|
|
/**
|
|
* Methods for working with GTasks preferences
|
|
*
|
|
* @author timsu
|
|
*
|
|
*/
|
|
public class GtasksUtilities extends SyncProviderUtilities {
|
|
|
|
/** add-on identifier */
|
|
public static final String IDENTIFIER = "gtasks"; //$NON-NLS-1$
|
|
|
|
public static final GtasksUtilities INSTANCE = new GtasksUtilities();
|
|
|
|
@Override
|
|
public String getIdentifier() {
|
|
return IDENTIFIER;
|
|
}
|
|
|
|
@Override
|
|
public int getSyncIntervalKey() {
|
|
return R.string.gtasks_GPr_interval_key;
|
|
}
|
|
|
|
/** GTasks user's default list id */
|
|
public static final String PREF_DEFAULT_LIST = IDENTIFIER + "_defaultlist"; //$NON-NLS-1$
|
|
|
|
private GtasksUtilities() {
|
|
// prevent instantiation
|
|
}
|
|
|
|
} |