Files
pilotclient/src/blackmisc/applicationinfolist.cpp
Klaus Basan c8c18b0b21 refs #883, utility functions
* get executable names
* containsApplication
2017-02-24 15:21:43 +00:00

25 lines
891 B
C++

/* 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.
*/
#include "blackmisc/applicationinfolist.h"
namespace BlackMisc
{
CApplicationInfoList::CApplicationInfoList() = default;
CApplicationInfoList::CApplicationInfoList(const CSequence<CApplicationInfo> &other) :
CSequence<CApplicationInfo>(other)
{}
bool CApplicationInfoList::containsApplication(CApplicationInfo::Application application) const
{
return this->contains(&CApplicationInfo::application, application);
}
}