Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F116632
l10n-provider.hpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
705 B
Referenced Files
None
Subscribers
None
l10n-provider.hpp
View Options
/*
* This file is part of kazv.
* SPDX-FileCopyrightText: 2021-2024 tusooa <tusooa@kazv.moe>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
#pragma once
#include
<kazv-defs.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
Sun, Dec 1, 11:26 PM (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41876
Default Alt Text
l10n-provider.hpp (705 B)
Attached To
Mode
rK kazv
Attached
Detach File
Event Timeline
Log In to Comment