Page MenuHomePhorge

l10n-provider.hpp
No OneTemporary

Size
709 B
Referenced Files
None
Subscribers
None

l10n-provider.hpp

/*
* 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

Mime Type
text/x-c++
Expires
Fri, Nov 22, 8:58 PM (23 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38705
Default Alt Text
l10n-provider.hpp (709 B)

Event Timeline