summaryrefslogtreecommitdiffstats
path: root/yql/essentials/core/layers/remote_layer_provider.h
blob: 2e2928615a2001392a832debf1bf48d1285d5866 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

#include "layers_fwd.h"
#include <library/cpp/threading/future/core/future.h>

namespace NYql::NLayers {
class IRemoteLayerProvider: public TThrRefBase {
public:
    virtual NThreading::TFuture<TLayerInfo> GetLayerInfo(const TMaybe<TString>& parent, const TString& url) const = 0;
    virtual ~IRemoteLayerProvider() = default;
};

using IRemoteLayerProviderPtr = TIntrusivePtr<IRemoteLayerProvider>;
} // namespace NYql::NLayers