mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
24 lines
857 B
C++
24 lines
857 B
C++
/* Copyright (C) 2015
|
|
* swift project Community / Contributors
|
|
*
|
|
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
|
|
* directory of this distribution. No part of swift project, including this file, may be copied, modified, propagated,
|
|
* or distributed except according to the terms contained in the LICENSE file.
|
|
*/
|
|
|
|
#include "blackmisc/weather/weathergridprovider.h"
|
|
|
|
namespace BlackMisc
|
|
{
|
|
namespace Weather
|
|
{
|
|
void CWeatherGridAware::requestWeatherGrid(
|
|
const CWeatherGrid &weatherGrid,
|
|
const CSlot<void(const CWeatherGrid &)> &callback)
|
|
{
|
|
Q_ASSERT_X(this->hasProvider(), Q_FUNC_INFO, "No object available");
|
|
this->provider()->requestWeatherGrid(weatherGrid, callback);
|
|
}
|
|
} // namespace
|
|
} // namespace
|