@@ -102,18 +102,6 @@ class CORE_EXPORT QgsRasterDataProviderTemporalCapabilities : public QgsDataProv
102
102
*/
103
103
const QgsDateTimeRange &availableReferenceTemporalRange () const ;
104
104
105
- /* *
106
- * Sets the requested temporal \a range to retrieve when
107
- * returning data from the associated data provider.
108
- *
109
- * \note this is not normally manually set, and is intended for use by
110
- * QgsRasterLayerRenderer to automatically set the requested temporal range
111
- * on a clone of the data provider during a render job.
112
- *
113
- * \see requestedTemporalRange()
114
- */
115
- void setRequestedTemporalRange ( const QgsDateTimeRange &range );
116
-
117
105
/* *
118
106
* Returns the requested temporal range.
119
107
* Intended to be used by the provider in fetching data.
@@ -176,6 +164,18 @@ class CORE_EXPORT QgsRasterDataProviderTemporalCapabilities : public QgsDataProv
176
164
177
165
private:
178
166
167
+ /* *
168
+ * Sets the requested temporal \a range to retrieve when
169
+ * returning data from the associated data provider.
170
+ *
171
+ * \note this is not normally manually set, and is intended for use by
172
+ * QgsRasterLayerRenderer to automatically set the requested temporal range
173
+ * on a clone of the data provider during a render job.
174
+ *
175
+ * \see requestedTemporalRange()
176
+ */
177
+ void setRequestedTemporalRange ( const QgsDateTimeRange &range );
178
+
179
179
/* *
180
180
* Represents available data provider datetime range.
181
181
*
@@ -214,6 +214,9 @@ class CORE_EXPORT QgsRasterDataProviderTemporalCapabilities : public QgsDataProv
214
214
// ! Interval handling method
215
215
IntervalHandlingMethod mIntervalMatchMethod = MatchUsingWholeRange;
216
216
217
+ friend class QgsRasterLayerRenderer ;
218
+ friend class TestQgsRasterDataProviderTemporalCapabilities ;
219
+
217
220
};
218
221
219
222
#endif // QGSRASTERDATAPROVIDERTEMPORALCAPABILITIES_H
0 commit comments