summaryrefslogtreecommitdiffstats
path: root/src/track/trackiterator.h
blob: 9d6bc6fec11ba5d7f2cdaa9c62ca0f75c5de9a57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/// Utilities for iterating through a selection or collection
/// of tracks.

#pragma once

#include <QModelIndex>

#include "track/track_decl.h"
#include "track/trackid.h"
#include "util/itemiterator.h"

namespace mixxx {

typedef ItemIterator<TrackId> TrackIdIterator;
typedef ListItemIterator<TrackId> TrackIdListIterator;

typedef ItemIterator<TrackPointer> TrackPointerIterator;
typedef ListItemIterator<TrackPointer> TrackPointerListIterator;

} // namespace mixxx