forked from openkylin/ukui-search
21 lines
454 B
C++
21 lines
454 B
C++
#ifndef SEARCHMETHODMANAGER_H
|
|
#define SEARCHMETHODMANAGER_H
|
|
|
|
#include "first-index.h"
|
|
//#include "inotify-index.h"
|
|
#include "inotify-watch.h"
|
|
namespace UkuiSearch {
|
|
class SearchMethodManager {
|
|
public:
|
|
static SearchMethodManager *getInstance();
|
|
void searchMethod(FileUtils::SearchMethod sm);
|
|
private:
|
|
SearchMethodManager();
|
|
FirstIndex m_fi;
|
|
// InotifyIndex* m_ii;
|
|
InotifyWatch *m_iw = nullptr;
|
|
};
|
|
}
|
|
|
|
#endif // SEARCHMETHODMANAGER_H
|