summaryrefslogtreecommitdiff
path: root/ActiveStationList.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'ActiveStationList.hpp')
-rw-r--r--ActiveStationList.hpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/ActiveStationList.hpp b/ActiveStationList.hpp
new file mode 100644
index 00000000..a33df167
--- /dev/null
+++ b/ActiveStationList.hpp
@@ -0,0 +1,19 @@
+// -*- Mode: C++ -*-
+#ifndef ACTIVE_STATION_LIST_HPP
+#define ACTIVE_STATION_LIST_HPP
+
+#include <QString>
+#include <QVector>
+
+struct ActiveStationListItem
+{
+ float sort_key;
+ QString text;
+};
+
+QVector<ActiveStationListItem> sorted_limited_active_station_items(
+ QVector<ActiveStationListItem> items,
+ int limit,
+ bool descending);
+
+#endif