diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/embedded_8h-source.html --- a/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/embedded_8h-source.html Tue Mar 30 11:56:28 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,97 +0,0 @@ - - -TB10.1 Example Applications: examples/AppFramework/Apparc/EmbApp/embedded.h Source File - - - - -

examples/AppFramework/Apparc/EmbApp/embedded.h

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 __EMBEDDED_H__
-00017 #define __EMBEDDED_H__
-00018 
-00019 #include <coeccntx.h>
-00020 
-00021 #include <apgtask.h>
-00022 #include <eikenv.h>
-00023 #include <eikappui.h>
-00024 #include <eikapp.h>
-00025 #include <eikdoc.h>
-00026 #include <eikmenup.h>
-00027 
-00028 #include <ecom.h>
-00029 #include <implementationproxy.h>
-00030 
-00031 _LIT(KExampleText, "Welcome to the embedded application example");
-00032 
-00033 // Embedded application class
-00034 class CExampleApplication : public CEikApplication
-00035         {
-00036 private:
-00037         CApaDocument* CreateDocumentL();
-00038         TUid AppDllUid() const;
-00039 private:
-00040         TFileName ResourceFileName() const;
-00041 private:
-00042         CApaDocument* CreateDocumentL(CApaProcess* a) { return CEikApplication::CreateDocumentL(a); }
-00043         };
-00044 
-00045 // Embedded view class
-00046 class CExampleAppView : public CCoeControl
-00047     {
-00048 public:
-00049         static CExampleAppView* NewL(const TRect& aRect);
-00050         CExampleAppView();
-00051         ~CExampleAppView();
-00052     void ConstructL(const TRect& aRect);
-00053 
-00054 private:
-00055         void Draw(const TRect& /*aRect*/) const;
-00056 private:
-00057         HBufC*  iExampleText;
-00058     };
-00059 
-00060 // Embedded application UI class
-00061 class CExampleAppUi : public CEikAppUi
-00062     {
-00063 public:
-00064     void ConstructL();
-00065         ~CExampleAppUi();
-00066 
-00067 private:
-00068         void HandleCommandL(TInt aCommand);
-00069 private:
-00070         CCoeControl* iAppView;
-00071         };
-00072 
-00073 // Embedded document class
-00074 class CExampleDocument : public CEikDocument
-00075         {
-00076 public:
-00077         static CExampleDocument* NewL(CEikApplication& aApp);
-00078         CExampleDocument(CEikApplication& aApp);
-00079         void ConstructL();
-00080 private:
-00081         CEikAppUi* CreateAppUiL();
-00082         };
-00083 
-00084 #endif //__EMBEDDED_H__
-00085 
-

Generated on Thu Jan 21 10:32:54 2010 for TB10.1 Example Applications by  - -doxygen 1.5.3
- -