2016-06-14 23:45:55 +02:00
|
|
|
package info.nightscout.androidaps.interfaces;
|
2016-06-09 16:33:44 +02:00
|
|
|
|
2016-06-10 18:50:46 +02:00
|
|
|
import java.util.Date;
|
|
|
|
|
2016-06-09 16:33:44 +02:00
|
|
|
/**
|
|
|
|
* Created by mike on 09.06.2016.
|
|
|
|
*/
|
|
|
|
public interface PluginBase {
|
|
|
|
int GENERAL = 1;
|
2016-06-13 22:53:41 +02:00
|
|
|
int TREATMENT = 2;
|
|
|
|
int TEMPBASAL = 3;
|
|
|
|
int PROFILE = 4;
|
|
|
|
int APS = 5;
|
|
|
|
int PUMP = 6;
|
2016-06-20 20:45:55 +02:00
|
|
|
int CONSTRAINTS = 7;
|
2016-06-19 13:17:16 +02:00
|
|
|
int LOOP = 8;
|
2016-06-09 16:33:44 +02:00
|
|
|
|
|
|
|
public int getType();
|
2016-06-13 22:53:41 +02:00
|
|
|
|
|
|
|
String getName();
|
|
|
|
boolean isEnabled();
|
|
|
|
boolean isVisibleInTabs();
|
|
|
|
boolean canBeHidden();
|
|
|
|
void setFragmentEnabled(boolean fragmentEnabled);
|
|
|
|
void setFragmentVisible(boolean fragmentVisible);
|
|
|
|
}
|