00001 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). 00002 // All rights reserved. 00003 // This component and the accompanying materials are made available 00004 // under the terms of "Eclipse Public License v1.0" 00005 // which accompanies this distribution, and is available 00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html". 00007 // 00008 // Initial Contributors: 00009 // Nokia Corporation - initial contribution. 00010 // 00011 // Contributors: 00012 // 00013 // Description: 00014 // 00015 00016 #ifndef __APPHOLDER_H 00017 #define __APPHOLDER_H 00018 00019 #include <coeccntx.h> 00020 00021 #include <eikenv.h> 00022 #include <eikappui.h> 00023 #include <eikapp.h> 00024 #include <eikdoc.h> 00025 #include <eikmenup.h> 00026 00027 #include <eikon.hrh> 00028 00029 const TUid KUidAppholder = { 0xE8000058 }; 00030 00031 class CWsClient; 00032 00033 // 00034 // CAppholderAppUi 00035 // 00036 00037 class CAppholderAppUi : public CEikAppUi 00038 { 00039 public: 00040 void ConstructL(); 00041 ~CAppholderAppUi(); 00042 private: // from CEikAppUi 00043 void HandleCommandL(TInt aCommand); 00044 private: 00045 CWsClient* iClient; 00046 }; 00047 00048 00049 // 00050 // CAppholderDocument 00051 // 00052 00053 class CAppholderDocument : public CEikDocument 00054 { 00055 public: 00056 // construct/destruct 00057 CAppholderDocument(CEikApplication& aApp); 00058 ~CAppholderDocument(); 00059 private: // from CEikDocument 00060 CEikAppUi* CreateAppUiL(); 00061 }; 00062 00063 00064 // 00065 // CAppholderApplication 00066 // 00067 00068 class CAppholderApplication : public CEikApplication 00069 { 00070 private: // from CApaApplication 00071 CApaDocument* CreateDocumentL(); 00072 TUid AppDllUid() const; 00073 }; 00074 00075 #endif
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.