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