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 00017 #ifndef __APPHOLDER_H 00018 #define __APPHOLDER_H 00019 00020 #include <coeccntx.h> 00021 00022 #include <eikenv.h> 00023 #include <eikappui.h> 00024 #include <eikapp.h> 00025 #include <eikdoc.h> 00026 #include <eikmenup.h> 00027 00028 #include <eikon.hrh> 00029 00030 const TUid KUidAppholder = { 0xE8000052 }; 00031 00032 class CWsClient; 00033 00034 // 00035 // CAppholderAppUi 00036 // 00037 00038 class CAppholderAppUi : public CEikAppUi 00039 { 00040 public: 00041 void ConstructL(); 00042 ~CAppholderAppUi(); 00043 private: // from CEikAppUi 00044 void HandleCommandL(TInt aCommand); 00045 private: 00046 CWsClient* iClient; 00047 }; 00048 00049 00050 // 00051 // CAppholderDocument 00052 // 00053 00054 class CAppholderDocument : public CEikDocument 00055 { 00056 public: 00057 // construct/destruct 00058 CAppholderDocument(CEikApplication& aApp); 00059 ~CAppholderDocument(); 00060 private: // from CEikDocument 00061 CEikAppUi* CreateAppUiL(); 00062 }; 00063 00064 00065 // 00066 // CAppholderApplication 00067 // 00068 00069 class CAppholderApplication : public CEikApplication 00070 { 00071 private: // from CApaApplication 00072 CApaDocument* CreateDocumentL(); 00073 TUid AppDllUid() const; 00074 }; 00075 00076 #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.