From 3d836c185f92fb38fed31e373f371187322b2f3f Mon Sep 17 00:00:00 2001 From: zheng_wenlong Date: Sun, 22 Oct 2017 11:29:15 +0900 Subject: 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 --- homescreen/src/main.cpp | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'homescreen/src/main.cpp') 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 #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 mobjs = engine.rootObjects(); -// MasterVolume *mv = mobjs.first()->findChild("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(); } -- cgit 1.2.3-korg