2015-08-18 01:25:24 +01:00
|
|
|
#pragma once
|
2021-11-03 14:45:42 +00:00
|
|
|
#include <QString>
|
2023-08-02 17:35:35 +01:00
|
|
|
#include <memory>
|
2015-08-18 01:25:24 +01:00
|
|
|
|
2023-08-02 17:35:35 +01:00
|
|
|
class IPathMatcher {
|
|
|
|
public:
|
2018-07-15 13:51:05 +01:00
|
|
|
typedef std::shared_ptr<IPathMatcher> Ptr;
|
2015-08-18 01:25:24 +01:00
|
|
|
|
2023-08-02 17:35:35 +01:00
|
|
|
public:
|
2018-07-15 13:51:05 +01:00
|
|
|
virtual ~IPathMatcher(){};
|
2023-08-02 17:35:35 +01:00
|
|
|
virtual bool matches(const QString& string) const = 0;
|
2015-08-18 01:25:24 +01:00
|
|
|
};
|