2018-02-26 14:27:32 +01:00
|
|
|
/* Copyright (C) 2015-2018 Andreas Shimokawa, Carsten Pfeiffer
|
2017-03-10 14:53:19 +01:00
|
|
|
|
|
|
|
This file is part of Gadgetbridge.
|
|
|
|
|
|
|
|
Gadgetbridge is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU Affero General Public License as published
|
|
|
|
by the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
Gadgetbridge is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU Affero General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Affero General Public License
|
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
2015-08-17 02:22:16 +02:00
|
|
|
package nodomain.freeyourgadget.gadgetbridge.activities.charts;
|
|
|
|
|
2015-09-04 21:55:29 +02:00
|
|
|
import android.view.ViewGroup;
|
|
|
|
|
2015-08-25 00:54:16 +02:00
|
|
|
import java.util.Date;
|
|
|
|
|
2015-08-25 00:33:37 +02:00
|
|
|
import nodomain.freeyourgadget.gadgetbridge.impl.GBDevice;
|
|
|
|
|
2015-08-17 02:22:16 +02:00
|
|
|
public interface ChartsHost {
|
2015-11-23 22:46:12 +01:00
|
|
|
String DATE_PREV = ChartsActivity.class.getName().concat(".date_prev");
|
|
|
|
String DATE_NEXT = ChartsActivity.class.getName().concat(".date_next");
|
|
|
|
String REFRESH = ChartsActivity.class.getName().concat(".refresh");
|
2015-08-17 02:22:16 +02:00
|
|
|
|
2015-08-25 00:33:37 +02:00
|
|
|
GBDevice getDevice();
|
|
|
|
|
2015-08-25 00:54:16 +02:00
|
|
|
void setStartDate(Date startDate);
|
2015-09-24 14:45:21 +02:00
|
|
|
|
2015-08-25 00:54:16 +02:00
|
|
|
void setEndDate(Date endDate);
|
|
|
|
|
|
|
|
Date getStartDate();
|
2015-09-24 14:45:21 +02:00
|
|
|
|
2015-08-25 00:54:16 +02:00
|
|
|
Date getEndDate();
|
2015-09-24 14:45:21 +02:00
|
|
|
|
2015-08-17 02:22:16 +02:00
|
|
|
void setDateInfo(String dateInfo);
|
2015-09-04 21:55:29 +02:00
|
|
|
|
|
|
|
ViewGroup getDateBar();
|
2015-08-17 02:22:16 +02:00
|
|
|
}
|