equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Library header. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef HSDOMAINMODEL_GLOBAL_H |
|
20 #define HSDOMAINMODEL_GLOBAL_H |
|
21 |
|
22 #include <Qt/qglobal.h> |
|
23 |
|
24 // services uri; services key names used when the service is passed as property in state |
|
25 const char CONTENT_SERVICE_KEY[] = "http://homescreen.nokia.com/runtimeservices/contentservice"; |
|
26 const char SHORTCUT_SERVICE_KEY[] = "http://homescreen.nokia.com/runtimeservices/shortcutservice"; |
|
27 |
|
28 // property name used to register for required services in state |
|
29 // runtime assigs requested service based on value of the key in state, service keys should be used. |
|
30 const char HS_SERVICES_REGISTRATION_KEY[] = "_hs_services_"; |
|
31 |
|
32 #ifdef HSDOMAINMODEL_LIB |
|
33 #define HSDOMAINMODEL_EXPORT Q_DECL_EXPORT |
|
34 #else |
|
35 #ifdef HSDOMAINMODEL_TEST |
|
36 #define HSDOMAINMODEL_EXPORT |
|
37 #else |
|
38 #define HSDOMAINMODEL_EXPORT Q_DECL_IMPORT |
|
39 #endif |
|
40 #endif |
|
41 |
|
42 #endif // HSDOMAINMODEL_GLOBAL_H |