aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/allprojectsfilter.h
blob: 6782ef461157f54550ac6d28e11b2b7efac27e18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#pragma once

#include <coreplugin/locator/ilocatorfilter.h>

namespace ProjectExplorer::Internal {

class AllProjectsFilter : public Core::ILocatorFilter
{
public:
    AllProjectsFilter();

private:
    Core::LocatorMatcherTasks matchers() final { return {m_cache.matcher()}; }
    Core::LocatorFileCache m_cache;
};

} // namespace ProjectExplorer::Internal