1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 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