Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

puttystart.h

00001 /*    puttystart.h
00002  *
00003  * PuTTY startup application
00004  *
00005  * Copyright 2002 Petteri Kangaslampi
00006  *
00007  * See license.txt for full copyright and license information.
00008 */
00009 
00010 #ifndef __PUTTYSTART_H__
00011 #define __PUTTYSTART_H__
00012 
00013 #include <coeccntx.h>
00014 
00015 #include <eikenv.h>
00016 #include <eikappui.h>
00017 #include <eikapp.h>
00018 #include <eikdoc.h>
00019 #include <eikmenup.h>
00020 
00021 #include <eikon.hrh>
00022 
00023 #include <putty.rsg>
00024 #include "puttystart.hrh"
00025 
00026 
00027 class CPuttyStartAppView;
00028 
00029 
00030 // Application
00031 class CPuttyStartApplication : public CEikApplication {
00032     
00033 private:
00034     CApaDocument* CreateDocumentL();
00035     TUid AppDllUid() const;
00036 };
00037 
00038 
00039 // Document
00040 class CPuttyStartDocument : public CEikDocument {
00041     
00042 public:
00043     CPuttyStartDocument(CEikApplication &anApp);
00044 private: 
00045     CEikAppUi* CreateAppUiL();
00046 };
00047 
00048 
00049 // AppUI
00050 class CPuttyStartAppUi : public CEikAppUi {
00051     
00052 public:
00053     void ConstructL();
00054     CPuttyStartAppUi();
00055     ~CPuttyStartAppUi();
00056 
00057 private:
00058     void HandleCommandL(TInt aCommand);
00059     TBool CPuttyStartAppUi::RaiseUiL();
00060 
00061 private:
00062     CPuttyStartAppView *iAppView;
00063 };
00064 
00065 
00066 // View
00067 class CPuttyStartAppView : public CCoeControl {
00068     
00069 public:
00070     CPuttyStartAppView();
00071     ~CPuttyStartAppView();
00072     void ConstructL(const TRect& aRect);
00073 
00074 private:
00075     void Draw(const TRect &aRect) const;
00076 };
00077 
00078 
00079 #endif

Generated on Sun Feb 9 13:01:29 2003 for PuTTY by doxygen1.2.18