2015-08-18 01:25:24 +01:00
|
|
|
#pragma once
|
|
|
|
#include <memory>
|
2021-11-03 14:45:42 +00:00
|
|
|
#include <QString>
|
2015-08-18 01:25:24 +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
|
|
|
|
|
|
|
public:
|
2023-06-04 22:59:37 +01:00
|
|
|
virtual ~IPathMatcher() {}
|
2018-07-15 13:51:05 +01:00
|
|
|
virtual bool matches(const QString &string) const = 0;
|
2015-08-18 01:25:24 +01:00
|
|
|
};
|