LeechCraft
0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
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
13
class
QString;
14
class
QStringList;
15
16
template
<
typename
K,
typename
V>
17
class
QMap
;
18
19
namespace
LC::Util::AN
20
{
25
UTIL_XPC_API
QMap<QString, QString>
GetCategoryNameMap
();
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
}
xpcconfig.h
LC::Util::AN::GetKnownEventTypes
QStringList GetKnownEventTypes(const QString &category)
Returns the known events types for the given category.
Definition:
anutil.cpp:41
LC::Util::AN::GetCategoryNameMap
QMap< QString, QString > GetCategoryNameMap()
Returns the map from the category ID to its name.
Definition:
anutil.cpp:25
UTIL_XPC_API
#define UTIL_XPC_API
Definition:
xpcconfig.h:16
LC::Util::AN
Definition:
anutil.cpp:15
LC::Util::AN::GetCategoryName
QString GetCategoryName(const QString &category)
Returns the human-readable name of the event category.
Definition:
anutil.cpp:116
QMap
Definition:
anutil.h:17
LC::Util::AN::GetTypeName
QString GetTypeName(const QString &type)
Returns the human-readable name of the event type.
Definition:
anutil.cpp:121
src
util
xpc
anutil.h
Generated by
1.8.17