LeechCraft 0.6.70-16373-g319c272718
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
anutil.h
Go to the documentation of this file.
1/**********************************************************************
2 * LeechCraft - modular cross-platform feature rich internet client.
3 * Copyright (C) 2006-2014 Georg Rudoy
4 *
5 * Distributed under the Boost Software License, Version 1.0.
6 * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt)
7 **********************************************************************/
8
9#pragma once
10
11#include "xpcconfig.h"
12
13class QString;
14class QStringList;
15
16template<typename K, typename V>
17class QMap;
18
19namespace LC::Util::AN
20{
26
35 UTIL_XPC_API QStringList GetKnownEventTypes (const QString& category);
36
49 UTIL_XPC_API QString GetCategoryName (const QString& category);
50
62 UTIL_XPC_API QString GetTypeName (const QString& type);
63}
Definition anutil.h:17
QMap< QString, QString > GetCategoryNameMap()
Returns the map from the category ID to its name.
Definition anutil.cpp:19
QStringList GetKnownEventTypes(const QString &category)
Returns the known events types for the given category.
Definition anutil.cpp:35
QString GetTypeName(const QString &type)
Returns the human-readable name of the event type.
Definition anutil.cpp:115
QString GetCategoryName(const QString &category)
Returns the human-readable name of the event category.
Definition anutil.cpp:110
#define UTIL_XPC_API
Definition xpcconfig.h:16