homescreenapp/hsapplicationlauncher/tsrc/t_hsapplicationlauncher/src/rprocess_mock.cpp
equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2010 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 #include "e32std.h" |
|
19 |
|
20 TInt RProcess::Create(const TDesC& aFileName,const TDesC& aCommand,TOwnerType aType) |
|
21 { |
|
22 return KErrNone; |
|
23 } |
|
24 |
|
25 TInt RProcess::Open(const TDesC &aName,TOwnerType aType) |
|
26 { |
|
27 return KErrNone; |
|
28 } |
|
29 |
|
30 TInt RProcess::Open(TProcessId aId,TOwnerType aType) |
|
31 { |
|
32 return KErrNone; |
|
33 } |
|
34 |
|
35 void RProcess::Resume() |
|
36 { |
|
37 } |
|
38 |
|
39 TExitType RProcess::ExitType() const |
|
40 { |
|
41 return TExitType(); |
|
42 } |
|
43 |
|
44 TUidType RProcess::Type() const |
|
45 { |
|
46 return TUidType(); |
|
47 } |
|
48 |
|
49 TProcessId RProcess::Id() const |
|
50 { |
|
51 return 0; |
|
52 } |
|
53 |
|
54 void RProcess::Rendezvous(TRequestStatus& aStatus) const |
|
55 { |
|
56 aStatus = KRequestPending; |
|
57 return; |
|
58 } |
|
59 |
|
60 TInt RProcess::RendezvousCancel(TRequestStatus& aStatus) const |
|
61 { |
|
62 return KErrNone; |
|
63 } |
|
64 |
|
65 void RProcess::Rendezvous(TInt aReason) |
|
66 { |
|
67 |
|
68 } |
|
69 |
|
70 TVendorId RProcess::VendorId() const |
|
71 { |
|
72 TVendorId vi(0); |
|
73 return vi; |
|
74 } |
|
75 |
|
76 void User::WaitForRequest(TRequestStatus& aStatus) |
|
77 { |
|
78 aStatus = KErrNone; |
|
79 return; |
|
80 } |