summaryrefslogtreecommitdiff
path: root/altosuilib/AltosUIDataSet.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-02-09 01:58:23 -0800
committerKeith Packard <keithp@keithp.com>2013-02-10 00:30:32 -0800
commit9839b0b62d797a8616fc66038e3f3c68e2a214d0 (patch)
tree7fc22e0273996cc77066e0ba138d11a079347d76 /altosuilib/AltosUIDataSet.java
parentfd5e6b80a8be5fac7d913b97570f7e11f70a60ba (diff)
altosuilib: Add graphing routines from MicroPeak
Make these available for AltosUI too Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosuilib/AltosUIDataSet.java')
-rw-r--r--altosuilib/AltosUIDataSet.java23
1 files changed, 23 insertions, 0 deletions
diff --git a/altosuilib/AltosUIDataSet.java b/altosuilib/AltosUIDataSet.java
new file mode 100644
index 00000000..6f23ef9a
--- /dev/null
+++ b/altosuilib/AltosUIDataSet.java
@@ -0,0 +1,23 @@
+/*
+ * Copyright © 2013 Keith Packard <keithp@keithp.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program 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
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ */
+
+package org.altusmetrum.altosuilib_1;
+
+public interface AltosUIDataSet {
+ public abstract String name();
+ public abstract Iterable<AltosUIDataPoint> dataPoints();
+}