Skip to content

Commit 2f5ac53

Browse files
Andrei Popescuandescu
authored andcommitted
Remove dead code after PrefetchTiles refactoring.
PrefetchTilesProvider class is obsolete and was removed as VersionedLayerClient::PrefetchTiles now uses direct API calls and TaskScheduler for async work. Additionaly this also adapts PrefetchTilesRepository class to coding style and removed unnecessary headers and forward declarations from CatalogClientImpl and VersionedLayerClientImpl. Relates-to: OLPEDGE-1005 Signed-off-by: Andrei Popescu <[email protected]>
1 parent 385adb4 commit 2f5ac53

File tree

7 files changed

+78
-606
lines changed

7 files changed

+78
-606
lines changed

olp-cpp-sdk-dataservice-read/src/CatalogClientImpl.h

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,10 @@
2424

2525
#include <olp/core/client/CancellationToken.h>
2626
#include <olp/core/client/HRN.h>
27-
#include <olp/dataservice/read/CatalogClient.h>
27+
#include <olp/core/client/OlpClientSettings.h>
2828
#include <olp/dataservice/read/CatalogRequest.h>
2929
#include <olp/dataservice/read/CatalogVersionRequest.h>
30-
#include <olp/dataservice/read/DataRequest.h>
31-
#include <olp/dataservice/read/PartitionsRequest.h>
32-
#include <olp/dataservice/read/PrefetchTilesRequest.h>
30+
#include <olp/dataservice/read/Types.h>
3331

3432
namespace olp {
3533
namespace client {
@@ -40,12 +38,8 @@ class PendingRequests;
4038

4139
namespace dataservice {
4240
namespace read {
43-
44-
class PrefetchTilesProvider;
4541
namespace repository {
4642
class CatalogRepository;
47-
class PartitionsRepository;
48-
class DataRepository;
4943
} // namespace repository
5044

5145
class CatalogClientImpl final {

olp-cpp-sdk-dataservice-read/src/PrefetchTilesProvider.cpp

Lines changed: 0 additions & 267 deletions
This file was deleted.

olp-cpp-sdk-dataservice-read/src/PrefetchTilesProvider.h

Lines changed: 0 additions & 90 deletions
This file was deleted.

0 commit comments

Comments
 (0)