diff --git a/bin/thermostat/ThermostatDevice.class b/bin/thermostat/ThermostatDevice.class index 5037b93..17520a3 100644 Binary files a/bin/thermostat/ThermostatDevice.class and b/bin/thermostat/ThermostatDevice.class differ diff --git a/src/InputOutput/CurrentUser.java b/src/InputOutput/CurrentUser.java new file mode 100644 index 0000000..c63d7c3 --- /dev/null +++ b/src/InputOutput/CurrentUser.java @@ -0,0 +1,34 @@ +package InputOutput; + +/** + * Created by David on 5/1/15. + */ +public class CurrentUser { + + private static CurrentUser instance = null; + + private String email; + + public static CurrentUser getInstance() { + if (instance == null){ + try { + instance = new CurrentUser(); + } catch (Exception e) { + e.printStackTrace(); + } + } + return instance; + } + + public CurrentUser(){ + } + + public String getEmail(){ + return this.email; + } + + public void setEmail(String email){ + this.email = email; + } + +}