swift
Loading...
Searching...
No Matches
applicationinfolist.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (C) 2016 swift Project Community / Contributors
2// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
3
5
6#ifndef SWIFT_MISC_APPLICATIONINFOLIST_H
7#define SWIFT_MISC_APPLICATIONINFOLIST_H
8
10#include "misc/collection.h"
11#include "misc/sequence.h"
12
13SWIFT_DECLARE_SEQUENCE_MIXINS(swift::misc, CApplicationInfo, CApplicationInfoList)
14
15namespace swift::misc
16{
58} // namespace swift::misc
59
60Q_DECLARE_METATYPE(swift::misc::CApplicationInfoList)
62
63#endif // SWIFT_MISC_APPLICATIONINFOLIST_H
Application
Enumeration of application roles.
List of swift application descriptions.
int otherSwiftVersionsFromDataDirectories(bool reinit=false)
Fill from cache data directories.
CSequence()=default
Default constructor.
static const QMap< QString, CApplicationInfo > & applicationDataDirectoryMapWithoutCurrentVersion()
swift application data sub directories with info if available
static QMap< QString, CApplicationInfo > currentApplicationDataDirectoryMapWithoutCurrentVersion()
swift application data sub directories with info if available
static CApplicationInfoList fromOtherSwiftVersionsFromDataDirectories(bool reinit=false)
Filled from cache data directories.
QStringList processNames() const
Running application names.
CApplicationInfoList()=default
Default constructor.
bool containsApplication(CApplicationInfo::Application application) const
List containing entry for CApplicationInfo::Application ?
int removeApplication(CApplicationInfo::Application application)
Remove given application.
static bool hasOtherSwiftDataDirectories()
Other swift data directories.
Generic ordered container with value semantics.
Definition collection.h:113
CSequence()=default
Default constructor.
CRTP class template from which a derived class can inherit common methods dealing with the metatype o...
#define SWIFT_MISC_DECLARE_USING_MIXIN_METATYPE(DERIVED)
When a derived class and a base class both inherit from mixin::MetaType, the derived class uses this ...
Free functions in swift::misc.
#define SWIFT_DECLARE_SEQUENCE_MIXINS(Namespace, T, List)
Explicit template declaration of mixins for a CSequence subclass to be placed near the top of the hea...
Definition sequence.h:62
#define SWIFT_MISC_EXPORT
Export a class or function from the library.