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

examples/AppFramework/Apparc/ServerApplication/server_application/serv_app_minimal.h

00001 // Copyright (c) 2006-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 __SERV_APP_MINIMAL_H__
-00017 #define __SERV_APP_MINIMAL_H__
-00018 
-00019 #include <eikenv.h>
-00020 #include <eikappui.h>
-00021 #include <eikapp.h>
-00022 #include <eikdoc.h>
-00023 #include <eikmenup.h>
-00024 
-00025 #include "server.h"
-00026 #include "session.h"
-00027 
-00028 //Minimal session class
-00029 class CMinimalSession : public CServAppSession
-00030         {
-00031 public:
-00032         ~CMinimalSession();
-00033         CMinimalSession(); 
-00034 private:
-00035         virtual void Display(const TDesC & aMessage);
-00036         };
-00037 
-00038 // Minimal application class
-00039 class CExampleApplication : public CEikApplication
-00040         {
-00041 private:
-00042         CApaDocument* CreateDocumentL();
-00043         TUid AppDllUid() const;
-00044         TFileName ResourceFileName() const;
-00045         void NewAppServerL(CApaAppServer*& aAppServer);
-00046         };
-00047 
-00048 // Minimal view class
-00049 class CExampleAppView : public CCoeControl
-00050     {
-00051 public:
-00052         static CExampleAppView* NewL(const TRect& aRect);
-00053         CExampleAppView();
-00054         ~CExampleAppView();
-00055     void ConstructL(const TRect& aRect);
-00056 
-00057 private:
-00058         void Draw(const TRect& /*aRect*/) const;
-00059     };
-00060 
-00061 // Minimal application UI class
-00062 class CExampleAppUi : public CEikAppUi
-00063     {
-00064 public:
-00065     void ConstructL();
-00066         ~CExampleAppUi();
-00067 
-00068 private:
-00069         void HandleCommandL(TInt aCommand);
-00070 
-00071 private:
-00072         CCoeControl* iAppView;
-00073         };
-00074 
-00075 // Minimal document class
-00076 class CExampleDocument : public CEikDocument
-00077         {
-00078 public:
-00079         static CExampleDocument* NewL(CEikApplication& aApp);
-00080         CExampleDocument(CEikApplication& aApp);
-00081         void ConstructL();
-00082 private:
-00083         CEikAppUi* CreateAppUiL();
-00084         };
-00085 
-00086 #endif // __SERV_APP_MINIMAL_H__
-00087 
-

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