1.1 --- a/epoc32/include/eiksrvc.h Wed Mar 31 12:27:01 2010 +0100
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,85 +0,0 @@
1.4 -// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 -// All rights reserved.
1.6 -// This component and the accompanying materials are made available
1.7 -// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
1.8 -// which accompanies this distribution, and is available
1.9 -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.10 -//
1.11 -// Initial Contributors:
1.12 -// Nokia Corporation - initial contribution.
1.13 -//
1.14 -// Contributors:
1.15 -//
1.16 -// Description:
1.17 -//
1.18 -
1.19 -#ifndef __EIKSRVC_H__
1.20 -#define __EIKSRVC_H__
1.21 -
1.22 -#include <eiksrvs.h>
1.23 -#include <eiksrv.h>
1.24 -
1.25 -const TInt KNumConnectRetries = 5;
1.26 -/**
1.27 -@internalComponent
1.28 -*/
1.29 -typedef TThreadFunction* (*EikSrvEntrypoint)();
1.30 -
1.31 -class CEikDebugPreferences;
1.32 -
1.33 -/**
1.34 -@publishedPartner
1.35 -@released
1.36 -*/
1.37 -class REikAppUiSession : public RSessionBase
1.38 - {
1.39 -public:
1.40 - IMPORT_C REikAppUiSession();
1.41 - IMPORT_C TInt Connect();
1.42 - IMPORT_C void Close();
1.43 - IMPORT_C TVersion Version() const;
1.44 - IMPORT_C void LaunchTaskList() const;
1.45 - IMPORT_C void CycleTasks(TTaskCycleDirection aDirection) const;
1.46 - IMPORT_C TInt SetStatusPaneFlags(TInt aFlags) const;
1.47 - IMPORT_C TInt SetStatusPaneLayout(TInt aLayoutResId) const;
1.48 - IMPORT_C TInt BlankScreen() const;
1.49 - IMPORT_C TInt UnblankScreen() const;
1.50 - IMPORT_C CEikonEnv::TErrorValidity ResolveError(TDes& aText,TInt aError,TUid aAppUid) const;
1.51 - IMPORT_C void Extension(TUid aExtensionUid,const TDesC8& aBuffer,TRequestStatus& aRequestStatus) const;
1.52 - IMPORT_C TInt GetInstalledFepName(TDes& aName) const;
1.53 - IMPORT_C TInt SetInstalledFepName(const TDesC& aName, TBool aRaiseFileError) const;
1.54 - IMPORT_C CColorList* GetSystemColorsL() const;
1.55 - IMPORT_C void SetSystemColorsL(const CColorList& aColorList) const;
1.56 - IMPORT_C TInt OpenFepAttributes() const;
1.57 - IMPORT_C TInt GetFepAttribute(TUid aAttribUid, TDes8& aAttribData) const;
1.58 - IMPORT_C TInt SetFepAttribute(TUid aAttribUid, const TDesC8& aAttribData) const;
1.59 - IMPORT_C TInt CommitFepAttributes() const;
1.60 - IMPORT_C void CloseFepAttributes() const;
1.61 - IMPORT_C TInt EnableTaskList() const;
1.62 - IMPORT_C virtual void REikAppUiSession_Reserved1();
1.63 - IMPORT_C virtual void REikAppUiSession_Reserved2();
1.64 - IMPORT_C CEikDebugPreferences* GetDebugPreferencesL() const;
1.65 - IMPORT_C CEikonEnv::TErrorValidity ResolveErrorWithTitleL(TDes& aErrorText, TInt aError, TInt& aTextId, TUint& aFlags, TDes& aTitleText, TBool aIsMemoryAllocatedByErrResolver) const;
1.66 -private:
1.67 - class CExtension;
1.68 - void StartServerL();
1.69 -#if defined(__WINS__)
1.70 -private:
1.71 - RLibrary iNotUsed; // kept for the moment to preserve sizeof(REikAppUiSession)
1.72 -#endif
1.73 -private:
1.74 - CExtension* iExtension;
1.75 - };
1.76 -
1.77 -//**********************************
1.78 -//global functions
1.79 -//**********************************
1.80 -
1.81 -/**
1.82 -function to panic the server
1.83 -@internalComponent
1.84 -*/
1.85 -GLREF_C void PanicServer(TEikAppUiServPanic aPanic);
1.86 -
1.87 -
1.88 -#endif // __EIKSRVC_H__