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