mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 04:25:42 +08:00
refs #777 Added classes CApplicationInfo and CApplicationInfoList.
This commit is contained in:
committed by
Klaus Basan
parent
34a68ca336
commit
d1c2c96c31
43
src/blackmisc/applicationinfolist.h
Normal file
43
src/blackmisc/applicationinfolist.h
Normal file
@@ -0,0 +1,43 @@
|
||||
/* Copyright (C) 2016
|
||||
* 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_APPLICATIONINFOLIST_H
|
||||
#define BLACKMISC_APPLICATIONINFOLIST_H
|
||||
|
||||
#include "blackmisc/applicationinfo.h"
|
||||
#include "blackmisc/sequence.h"
|
||||
#include "blackmisc/collection.h"
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
/*!
|
||||
* List of swift application descriptions.
|
||||
*/
|
||||
class BLACKMISC_EXPORT CApplicationInfoList :
|
||||
public CSequence<CApplicationInfo>,
|
||||
public Mixin::MetaType<CApplicationInfoList>
|
||||
{
|
||||
public:
|
||||
BLACKMISC_DECLARE_USING_MIXIN_METATYPE(CApplicationInfoList)
|
||||
|
||||
//! Default constructor.
|
||||
CApplicationInfoList();
|
||||
|
||||
//! Construct from base class object.
|
||||
CApplicationInfoList(const CSequence<CApplicationInfo> &other);
|
||||
};
|
||||
}
|
||||
|
||||
Q_DECLARE_METATYPE(BlackMisc::CApplicationInfoList)
|
||||
Q_DECLARE_METATYPE(BlackMisc::CSequence<BlackMisc::CApplicationInfo>)
|
||||
Q_DECLARE_METATYPE(BlackMisc::CCollection<BlackMisc::CApplicationInfo>)
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user