diff options
author | zheng_wenlong <wenlong_zheng@nexty-ele.com> | 2017-10-22 11:29:15 +0900 |
---|---|---|
committer | zheng_wenlong <wenlong_zheng@nexty-ele.com> | 2017-10-22 11:29:15 +0900 |
commit | 3d836c185f92fb38fed31e373f371187322b2f3f (patch) | |
tree | 36d73cb1ebefe8d98db833b2d4e7c4499023cb7c /homescreen/src/main.cpp | |
parent | d11b03b77a8d5a40677c860eaa06bd8177fbf71d (diff) |
Add Copyright for TOYOTA and remove unnecessary file
Add Copyright for file with TOYOTA modified.
Remove the unnecessary for this homescreen-2017.
Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
Diffstat (limited to 'homescreen/src/main.cpp')
-rw-r--r-- | homescreen/src/main.cpp | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/homescreen/src/main.cpp b/homescreen/src/main.cpp index 7c78166..1b42832 100644 --- a/homescreen/src/main.cpp +++ b/homescreen/src/main.cpp @@ -1,5 +1,6 @@ /* * Copyright (C) 2016, 2017 Mentor Graphics Development (Deutschland) GmbH + * Copyright (c) 2017 TOYOTA MOTOR CORPORATION * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,7 +24,6 @@ #include <QQuickWindow> #include "layouthandler.h" -#include "homescreencontrolinterface.h" #include "applicationlauncher.h" #include "statusbarmodel.h" #include "applicationmodel.h" @@ -101,14 +101,6 @@ int main(int argc, char *argv[]) HomescreenHandler* homescreenHandler = new HomescreenHandler(); homescreenHandler->init(port, token.toStdString().c_str()); -// HomeScreenControlInterface* hsci = new HomeScreenControlInterface(); - -// QObject::connect(hsci, SIGNAL(newRequestGetSurfaceStatus(int)), layoutHandler, SLOT(requestGetSurfaceStatus(int))); -// QObject::connect(hsci, SIGNAL(newRequestsToBeVisibleApp(int)), layoutHandler, SLOT(makeMeVisible(int))); -// QObject::connect(hsci, SIGNAL(newRequestRenderSurfaceToArea(int, int)), layoutHandler, SLOT(requestRenderSurfaceToArea(int,int))); -// QObject::connect(hsci, SIGNAL(newRequestRenderSurfaceToAreaAllowed(int, int)), layoutHandler, SLOT(requestRenderSurfaceToAreaAllowed(int,int))); -// QObject::connect(hsci, SIGNAL(newRequestSurfaceIdToFullScreen(int)), layoutHandler, SLOT(requestSurfaceIdToFullScreen(int))); - // mail.qml loading QQmlApplicationEngine engine; engine.rootContext()->setContextProperty("layoutHandler", layoutHandler); @@ -120,14 +112,5 @@ int main(int argc, char *argv[]) QObject::connect(window, SIGNAL(frameSwapped()), layoutHandler, SLOT(slotActivateSurface())); QObject::connect(homescreenHandler, SIGNAL(homeButton()), layoutHandler, SLOT(slotHomeButton())); -// layoutHandler->activateSurface(); - - // Connect C++ / QML -// QList<QObject *> mobjs = engine.rootObjects(); -// MasterVolume *mv = mobjs.first()->findChild<MasterVolume *>("mv"); -// engine.rootContext()->setContextProperty("MasterVolume", mv); -// QObject::connect(mv, SIGNAL(sliderVolumeChanged(int)), client, SLOT(incDecVolume(int))); -// QObject::connect(client, SIGNAL(volumeExternallyChanged(int)), mv, SLOT(changeExternalVolume(int))); - return a.exec(); } |