AndroidAPS/app/src/main/java/info/nightscout/androidaps/interfaces/PluginBase.java

27 lines
574 B
Java
Raw Normal View History

2016-06-14 23:45:55 +02:00
package info.nightscout.androidaps.interfaces;
2016-06-10 18:50:46 +02:00
import java.util.Date;
/**
* 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-21 00:34:36 +02:00
int BGSOURCE = 9;
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);
}