summaryrefslogtreecommitdiffstats
path: root/examples/applicationmanager/custom-appman/custom-appman.cpp
diff options
context:
space:
mode:
authorRobert Griebl <robert.griebl@pelagicore.com>2019-04-03 00:48:22 +0200
committerRobert Griebl <robert.griebl@pelagicore.com>2019-08-01 11:23:31 +0200
commitb4aee167d3bc6b9f64229317fbc428b3f3b83c0d (patch)
tree6b526d57203f34f4b85a82e2e958ace227c83960 /examples/applicationmanager/custom-appman/custom-appman.cpp
parent3bc3dc4c8e912beb18aec7ab84af40c0129d84c0 (diff)
Add new package abstraction, which allows multiple executables per package
This is part 1 which is missing doc updates and missing the update-builtin- applications functionality. Both will be added in a follow-up commit. Change-Id: I2b493cfb7585143962067674690b02cc132ef78b Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
Diffstat (limited to 'examples/applicationmanager/custom-appman/custom-appman.cpp')
-rw-r--r--examples/applicationmanager/custom-appman/custom-appman.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/applicationmanager/custom-appman/custom-appman.cpp b/examples/applicationmanager/custom-appman/custom-appman.cpp
index 85f5d87a..e6d8c7d6 100644
--- a/examples/applicationmanager/custom-appman/custom-appman.cpp
+++ b/examples/applicationmanager/custom-appman/custom-appman.cpp
@@ -55,7 +55,7 @@
#include <QtAppManCommon/logging.h>
#include <QtAppManMain/main.h>
#include <QtAppManMain/defaultconfiguration.h>
-#include <QtAppManPackage/package.h>
+#include <QtAppManPackage/packageutilities.h>
#include <QtAppManInstaller/sudo.h>
@@ -67,7 +67,7 @@ Q_DECL_EXPORT int main(int argc, char *argv[])
QCoreApplication::setApplicationVersion("0.1");
Logging::initialize(argc, argv);
- Package::ensureCorrectLocale();
+ PackageUtilities::ensureCorrectLocale();
Sudo::forkServer(Sudo::DropPrivilegesPermanently);
try {