1 /* |
1 /* |
2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2004-2010 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 the License "Eclipse Public License v1.0" |
5 * under the terms of the License "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". |
89 void StartDocumentL(const TDesC& aFileName, TBool aWait); |
91 void StartDocumentL(const TDesC& aFileName, TBool aWait); |
90 void StartByMimeL(const TDesC& aFileName, TDesC8& aMimeType, TBool aWait); |
92 void StartByMimeL(const TDesC& aFileName, TDesC8& aMimeType, TBool aWait); |
91 void ShutdownL(); |
93 void ShutdownL(); |
92 void ShutdownL(TUid aUid, TInt aTimeout); |
94 void ShutdownL(TUid aUid, TInt aTimeout); |
93 void NotifyNewAppsL(const RPointerArray<TDesC>& aFiles); |
95 void NotifyNewAppsL(const RPointerArray<TDesC>& aFiles); |
|
96 #ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK |
|
97 void NotifyNewAppsL(const RPointerArray<Usif::CApplicationRegistrationData>& aApplicationRegistrationData); |
|
98 #endif |
94 #endif |
99 #endif |
95 void HandleShutdownL(TThreadId aThread, TBool aKillOnTimeout = EFalse); |
100 void HandleShutdownL(TThreadId aThread, TBool aKillOnTimeout = EFalse); |
96 void ForceShutdownL(TUid aUid); |
101 void ForceShutdownL(TUid aUid); |
97 void RunExecutableL(const TDesC& aFileName, TBool aWait); |
102 void RunExecutableL(const TDesC& aFileName, TBool aWait); |
98 |
103 |
99 private: |
104 private: |
100 CSisLauncherServer(); |
105 CSisLauncherServer(); |
101 void ConstructL(); |
106 void ConstructL(); |
102 CSession2* NewSessionL(const TVersion& aVersion, const RMessage2& aMessage) const; |
107 CSession2* NewSessionL(const TVersion& aVersion, const RMessage2& aMessage) const; |
103 |
|
104 void LongServerShutdown(); |
108 void LongServerShutdown(); |
105 void ShortServerShutdown(); |
109 void ShortServerShutdown(); |
106 void CancelShutdown(); |
110 void CancelShutdown(); |
107 |
111 #ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK |
|
112 virtual TCustomResult CustomSecurityCheckL(const RMessage2& aMsg, TInt& aAction, TSecurityInfo& aMissing); |
|
113 #endif |
108 // Server Policies |
114 // Server Policies |
109 // separate the policies into handled and not handled |
115 // separate the policies into handled and not handled |
110 #ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK |
116 #ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK |
111 static const TUint iRangeCount=4; |
117 static const TUint iRangeCount=6; |
112 #else |
118 #else |
113 static const TUint iRangeCount=2; |
119 static const TUint iRangeCount=2; |
114 #endif |
120 #endif |
115 static const TInt iRanges[iRangeCount]; |
121 static const TInt iRanges[iRangeCount]; |
116 static const TUint8 iElementsIndex[iRangeCount]; |
122 static const TUint8 iElementsIndex[iRangeCount]; |