equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2008 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: rtcinterfacehelpers |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef RTCINTERFACEHELPERS_H |
|
19 #define RTCINTERFACEHELPERS_H |
|
20 |
|
21 |
|
22 #include "commsclientendpoint.h" |
|
23 #include "javauid.h" |
|
24 |
|
25 #include "rtcmessages.h" |
|
26 |
|
27 using java::util::Uid; |
|
28 using namespace java::captain; |
|
29 |
|
30 extern java::comms::CommsClientEndpoint* commsClient; |
|
31 |
|
32 const int sendReceiveTimeout = 10; |
|
33 const bool syncOn = true; |
|
34 const bool syncOff = false; |
|
35 |
|
36 void iLaunch(const Uid& aUid, const bool& sync, std::string rtc = "midp", const int type = RTC_LAUNCH_TYPE_NORMAL_C); |
|
37 void iTerminate(const Uid& aUid, const bool& sync); |
|
38 void iDisable(const Uid& aUid); |
|
39 void iEnable(const Uid& aUid); |
|
40 |
|
41 #endif // RTCINTERFACEHELPERS_H |
|
42 |