Files
pilotclient/src/blackmisc/weather/presentweatherlist.h
2015-11-19 20:57:45 +00:00

47 lines
1.4 KiB
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 and at http://www.swift-project.org/license.html. 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.
*/
//! \file
#ifndef BLACKMISC_WEATHER_PRESENTWEATHERLIST_H
#define BLACKMISC_WEATHER_PRESENTWEATHERLIST_H
#include "presentweather.h"
#include "blackmisc/blackmiscexport.h"
#include "blackmisc/sequence.h"
namespace BlackMisc
{
namespace Weather
{
/*!
* Value object encapsulating a list of present weathers
*/
class BLACKMISC_EXPORT CPresentWeatherList :
public CSequence<CPresentWeather>,
public BlackMisc::Mixin::MetaType<CPresentWeatherList>
{
public:
BLACKMISC_DECLARE_USING_MIXIN_METATYPE(CPresentWeatherList)
//! Default constructor.
CPresentWeatherList() = default;
//! Construct from a base class object.
CPresentWeatherList(const CSequence<CPresentWeather> &other);
};
} //namespace
} // namespace
Q_DECLARE_METATYPE(BlackMisc::Weather::CPresentWeatherList)
Q_DECLARE_METATYPE(BlackMisc::CSequence<BlackMisc::Weather::CPresentWeather>)
#endif //guard