1 /* |
1 /* |
2 * Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0"" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
8 * |
8 * |
9 * Initial Contributors: |
9 * Initial Contributors: |
10 * Nokia Corporation - initial contribution. |
10 * Nokia Corporation - initial contribution. |
11 * |
11 * |
12 * Contributors: |
12 * Contributors: |
13 * |
13 * |
14 * Description: |
14 * Description: |
15 * |
15 * |
16 */ |
16 */ |
17 |
|
18 |
17 |
19 #include "cpthemeclientqt_p.h" |
18 #include "cpthemeclientqt_p.h" |
20 #include <QLocalSocket> |
19 #include <QLocalSocket> |
21 #include <QProcess> |
20 #include <QProcess> |
22 #include <QFile> |
21 #include <QFile> |
23 #include <QCoreApplication> |
22 #include <QCoreApplication> |
24 #include <QDebug> |
23 #include <QDebug> |
25 #include <QDir> |
24 #include <QDir> |
26 |
25 |
27 #include <hbinstance.h> |
26 #include <hbinstance.h> |
28 // TODO Do we need these? |
27 |
29 //#include <hbtheme_p.h> |
|
30 //#include <hbtheme.h> |
|
31 //#include <hbevent.h> |
|
32 //#include "hbthemecommon_p.h" |
|
33 |
28 |
34 #define WAIT_TIME_TO_CONNECT_TO_SERVER 500 |
29 #define WAIT_TIME_TO_CONNECT_TO_SERVER 500 |
35 #define WAIT_TIME_TO_START_SERVER 5000 |
30 #define WAIT_TIME_TO_START_SERVER 5000 |
36 //static const QString SERVERFILEPATH = QLatin1String(HB_BIN_DIR) + QDir::separator() + QLatin1String("hbthemeserver"); |
31 //static const QString SERVERFILEPATH = QLatin1String(HB_BIN_DIR) + QDir::separator() + QLatin1String("hbthemeserver"); |
37 |
32 |