You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
472 B
C++
29 lines
472 B
C++
#pragma once
|
|
|
|
#include <QStringList>
|
|
#include "iBase_global.h"
|
|
|
|
class ZxPathIndexerImp;
|
|
|
|
// 文件索引器
|
|
class I_BASE_EXPORT ZxPathIndexer
|
|
{
|
|
public:
|
|
|
|
ZxPathIndexer(const QString& sFolder, \
|
|
const QStringList& filters, \
|
|
const QString& sPrefix = QString());
|
|
~ZxPathIndexer();
|
|
|
|
QString getPath(QString sBaseName) const;
|
|
QStringList getBaseNames(bool bLower = true) const;
|
|
|
|
protected:
|
|
|
|
ZxPathIndexerImp* imp;
|
|
};
|
|
|
|
|
|
|
|
|