ukui-search/libsearch/index/search-method-manager.h

21 lines
454 B
C
Raw Normal View History

#ifndef SEARCHMETHODMANAGER_H
#define SEARCHMETHODMANAGER_H
#include "first-index.h"
//#include "inotify-index.h"
#include "inotify-watch.h"
2021-12-14 14:43:35 +08:00
namespace UkuiSearch {
2021-04-26 15:06:47 +08:00
class SearchMethodManager {
public:
2021-11-22 16:03:31 +08:00
static SearchMethodManager *getInstance();
void searchMethod(FileUtils::SearchMethod sm);
private:
2021-11-22 16:03:31 +08:00
SearchMethodManager();
FirstIndex m_fi;
// InotifyIndex* m_ii;
InotifyWatch *m_iw = nullptr;
};
}
#endif // SEARCHMETHODMANAGER_H