diff -r 000000000000 -r 2f259fa3e83a commonuisupport/uikon/srvinc/EIKSRVC.H --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/commonuisupport/uikon/srvinc/EIKSRVC.H Tue Feb 02 01:00:49 2010 +0200 @@ -0,0 +1,72 @@ +// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + +#ifndef __EIKSRVC_H__ +#define __EIKSRVC_H__ + +#include +#include + + +const TInt KNumConnectRetries = 5; + +class CEikDebugPreferences; + +/** +@publishedPartner +@released +*/ +class REikAppUiSession : public RSessionBase + { +public: + IMPORT_C REikAppUiSession(); + IMPORT_C TInt Connect(); + IMPORT_C void Close(); + IMPORT_C TVersion Version() const; + IMPORT_C void LaunchTaskList() const; + IMPORT_C void CycleTasks(TTaskCycleDirection aDirection) const; + IMPORT_C TInt SetStatusPaneFlags(TInt aFlags) const; + IMPORT_C TInt SetStatusPaneLayout(TInt aLayoutResId) const; + IMPORT_C TInt BlankScreen() const; + IMPORT_C TInt UnblankScreen() const; + IMPORT_C CEikonEnv::TErrorValidity ResolveError(TDes& aText,TInt aError,TUid aAppUid) const; + IMPORT_C void Extension(TUid aExtensionUid,const TDesC8& aBuffer,TRequestStatus& aRequestStatus) const; + IMPORT_C TInt GetInstalledFepName(TDes& aName) const; + IMPORT_C TInt SetInstalledFepName(const TDesC& aName, TBool aRaiseFileError) const; + IMPORT_C CColorList* GetSystemColorsL() const; + IMPORT_C void SetSystemColorsL(const CColorList& aColorList) const; + IMPORT_C TInt OpenFepAttributes() const; + IMPORT_C TInt GetFepAttribute(TUid aAttribUid, TDes8& aAttribData) const; + IMPORT_C TInt SetFepAttribute(TUid aAttribUid, const TDesC8& aAttribData) const; + IMPORT_C TInt CommitFepAttributes() const; + IMPORT_C void CloseFepAttributes() const; + IMPORT_C TInt EnableTaskList() const; + IMPORT_C virtual void REikAppUiSession_Reserved1(); + IMPORT_C virtual void REikAppUiSession_Reserved2(); + IMPORT_C CEikDebugPreferences* GetDebugPreferencesL() const; + IMPORT_C CEikonEnv::TErrorValidity ResolveErrorWithTitleL(TDes& aErrorText, TInt aError, TInt& aTextId, TUint& aFlags, TDes& aTitleText, TBool aIsMemoryAllocatedByErrResolver) const; +private: + class CExtension; + void StartServerL(); +#if defined(__WINS__) +private: + RLibrary iNotUsed; // kept for the moment to preserve sizeof(REikAppUiSession) +#endif +private: + CExtension* iExtension; + }; + +#endif // __EIKSRVC_H__ +