Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F111990
l10n-provider.hpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
709 B
Referenced Files
None
Subscribers
None
l10n-provider.hpp
View Options
/*
* This file is part of kazv.
* SPDX-FileCopyrightText: 2021 Tusooa Zhu <tusooa@kazv.moe>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
#pragma once
#include
<libkazv-config.hpp>
#include
<QObject>
#include
<QQmlEngine>
#include
<QScopedPointer>
#include
<QString>
#include
<QJsonObject>
struct
L10nProviderPrivate
;
class
L10nProvider
:
public
QObject
{
Q_OBJECT
QML_ELEMENT
QScopedPointer
<
L10nProviderPrivate
>
m_d
;
public
:
explicit
L10nProvider
(
QObject
*
parent
=
0
);
~
L10nProvider
()
override
;
Q_INVOKABLE
QStringList
availableLocaleCodes
();
Q_INVOKABLE
QJsonObject
availableLocaleToNameMap
();
Q_INVOKABLE
QJsonObject
getFtlData
(
QStringList
desiredLocales
);
};
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Fri, Nov 22, 8:58 PM (17 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38705
Default Alt Text
l10n-provider.hpp (709 B)
Attached To
Mode
rK kazv
Attached
Detach File
Event Timeline
Log In to Comment