Mercurial > hg > classical
view common/FeatureFileIndex.h @ 44:ed2befdf1e98
* Index for feature files (e.g. generated by Sonic Annotator)
author | Chris Cannam |
---|---|
date | Mon, 10 May 2010 17:33:00 +0100 |
parents | |
children | 0033259c6772 |
line wrap: on
line source
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ #ifndef _CLASSICAL_DATA_FEATURE_FILE_INDEX_H_ #define _CLASSICAL_DATA_FEATURE_FILE_INDEX_H_ #include "Objects.h" #include <dataquay/BasicStore.h> #include <QMutex> namespace ClassicalData { class FeatureFileIndex { public: static FeatureFileIndex *getInstance(); FeatureFileIndex(); ~FeatureFileIndex(); void loadFor(TrackFile *, Dataquay::BasicStore *); private: QMutex m_mutex; QString m_indexFileName; Dataquay::BasicStore *m_index; QString getIndexFileName(); QString getFeatureDirectoryName(); void updateIndex(); }; } #endif