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