forked from qt-creator/qt-creator
Replace the current license disclaimer in files by a SPDX-License-Identifier. Task-number: QTBUG-67283 Change-Id: I708fd1f9f2b73d60f57cc3568646929117825813 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
45 lines
1.1 KiB
C++
45 lines
1.1 KiB
C++
// Copyright (C) 2016 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
|
|
|
#pragma once
|
|
|
|
#include "android_global.h"
|
|
|
|
#include <utils/fileutils.h>
|
|
#include <utils/wizard.h>
|
|
|
|
namespace ProjectExplorer { class BuildSystem; }
|
|
|
|
namespace Android {
|
|
namespace Internal {
|
|
|
|
class CreateAndroidManifestWizard : public Utils::Wizard
|
|
{
|
|
Q_DECLARE_TR_FUNCTIONS(Android::CreateAndroidManifestWizard)
|
|
|
|
public:
|
|
CreateAndroidManifestWizard(ProjectExplorer::BuildSystem *buildSystem);
|
|
|
|
QString buildKey() const;
|
|
void setBuildKey(const QString &buildKey);
|
|
|
|
void accept();
|
|
bool copyGradle();
|
|
|
|
void setDirectory(const Utils::FilePath &directory);
|
|
void setCopyGradle(bool copy);
|
|
|
|
ProjectExplorer::BuildSystem *buildSystem() const;
|
|
|
|
private:
|
|
void createAndroidManifestFile();
|
|
void createAndroidTemplateFiles();
|
|
ProjectExplorer::BuildSystem *m_buildSystem;
|
|
QString m_buildKey;
|
|
Utils::FilePath m_directory;
|
|
bool m_copyGradle;
|
|
};
|
|
|
|
} // namespace Internal
|
|
} // namespace Android
|