mirror of
https://github.com/QuasarApp/QtAndroidTools.git
synced 2025-05-06 17:39:32 +00:00
Renamed some library sources
This commit is contained in:
parent
ff91bd60da
commit
12e61b761b
@ -1,7 +1,29 @@
|
|||||||
|
/*
|
||||||
|
* MIT License
|
||||||
|
*
|
||||||
|
* Copyright (c) 2018 Fabio Falsini <falsinsoft@gmail.com>
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
|
* in the Software without restriction, including without limitation the rights
|
||||||
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
#include <QQmlEngine>
|
#include <QQmlEngine>
|
||||||
#include "QtAndroidAppPermissions.h"
|
#include "QAndroidAppPermissions.h"
|
||||||
#include "QtAndroidApkExpansionFiles.h"
|
#include "QAndroidApkExpansionFiles.h"
|
||||||
#include "QtAndroidTools.h"
|
#include "QtAndroidTools.h"
|
||||||
|
|
||||||
QtAndroidTools::QtAndroidTools()
|
QtAndroidTools::QtAndroidTools()
|
||||||
@ -10,6 +32,6 @@ QtAndroidTools::QtAndroidTools()
|
|||||||
|
|
||||||
void QtAndroidTools::InitializeQmlTools()
|
void QtAndroidTools::InitializeQmlTools()
|
||||||
{
|
{
|
||||||
qmlRegisterSingletonType<QtAndroidAppPermissions>("AndroidTools.AppPermissions", 1, 0, "QtAndroidAppPermissions", &QtAndroidAppPermissions::qmlInstance);
|
qmlRegisterSingletonType<QAndroidAppPermissions>("QtAndroidTools.AppPermissions", 1, 0, "QtAndroidAppPermissions", &QAndroidAppPermissions::qmlInstance);
|
||||||
qmlRegisterSingletonType<QtAndroidApkExpansionFiles>("AndroidTools.ApkExpansionFiles", 1, 0, "QtAndroidApkExpansionFiles", &QtAndroidApkExpansionFiles::qmlInstance);
|
qmlRegisterSingletonType<QAndroidApkExpansionFiles>("QtAndroidTools.ApkExpansionFiles", 1, 0, "QtAndroidApkExpansionFiles", &QAndroidApkExpansionFiles::qmlInstance);
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,26 @@
|
|||||||
|
/*
|
||||||
|
* MIT License
|
||||||
|
*
|
||||||
|
* Copyright (c) 2018 Fabio Falsini <falsinsoft@gmail.com>
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
|
* in the Software without restriction, including without limitation the rights
|
||||||
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
class QtAndroidTools
|
class QtAndroidTools
|
||||||
|
@ -4,16 +4,14 @@ QT += androidextras
|
|||||||
HEADERS += $$PWD/QtAndroidTools.h
|
HEADERS += $$PWD/QtAndroidTools.h
|
||||||
SOURCES += $$PWD/QtAndroidTools.cpp
|
SOURCES += $$PWD/QtAndroidTools.cpp
|
||||||
|
|
||||||
HEADERS += $$PWD/QtAndroidAppPermissions.h
|
HEADERS += $$PWD/QAndroidAppPermissions.h
|
||||||
SOURCES += $$PWD/QtAndroidAppPermissions.cpp
|
SOURCES += $$PWD/QAndroidAppPermissions.cpp
|
||||||
|
|
||||||
HEADERS += $$PWD/QtAndroidApkExpansionFiles.h
|
HEADERS += $$PWD/QAndroidApkExpansionFiles.h
|
||||||
SOURCES += $$PWD/QtAndroidApkExpansionFiles.cpp
|
SOURCES += $$PWD/QAndroidApkExpansionFiles.cpp
|
||||||
OTHER_FILES += $$PWD/src/com/falsinsoft/QtAndroidTools/ApkExpansionDownloader.java \
|
OTHER_FILES += $$PWD/src/com/falsinsoft/qtandroidtools/ApkExpansionDownloader.java
|
||||||
$$PWD/src/com/falsinsoft/QtAndroidTools/ApkExpansionDownloaderService.java \
|
|
||||||
$$PWD/src/com/falsinsoft/QtAndroidTools/ApkExpansionDownloaderAlarmReceiver.java
|
|
||||||
|
|
||||||
copy_src.commands = $(CHK_DIR_EXISTS) $$shell_path($$ANDROID_PACKAGE_SOURCE_DIR/src/com/falsinsoft/QtAndroidTools) $(COPY_DIR) $$shell_path($$PWD/src) $$shell_path($$ANDROID_PACKAGE_SOURCE_DIR/src)
|
copy_src.commands = $(CHK_DIR_EXISTS) $$shell_path($$ANDROID_PACKAGE_SOURCE_DIR/src/com/falsinsoft/qtandroidtools) $(COPY_DIR) $$shell_path($$PWD/src) $$shell_path($$ANDROID_PACKAGE_SOURCE_DIR/src)
|
||||||
copy_aidl.commands = $(CHK_DIR_EXISTS) $$shell_path($$ANDROID_PACKAGE_SOURCE_DIR/aidl/com/android/vending/licensing) $(COPY_DIR) $$shell_path($$PWD/aidl) $$shell_path($$ANDROID_PACKAGE_SOURCE_DIR/aidl)
|
copy_aidl.commands = $(CHK_DIR_EXISTS) $$shell_path($$ANDROID_PACKAGE_SOURCE_DIR/aidl/com/android/vending/licensing) $(COPY_DIR) $$shell_path($$PWD/aidl) $$shell_path($$ANDROID_PACKAGE_SOURCE_DIR/aidl)
|
||||||
PRE_TARGETDEPS += copy_src copy_aidl
|
PRE_TARGETDEPS += copy_src copy_aidl
|
||||||
QMAKE_EXTRA_TARGETS += copy_src copy_aidl
|
QMAKE_EXTRA_TARGETS += copy_src copy_aidl
|
||||||
|
Loading…
x
Reference in New Issue
Block a user