|
S60 3rd Edition SDK for Symbian OS Example Applications Guide |
00001 /** 00002 * ============================================================================= 00003 * Name : Bitmapecommain.h 00004 * Part of : Plugin test 00005 * Interface : Browser Plug-in API 00006 * Description : Example for developing a plugin 00007 * Version : 1.0 00008 * 00009 * Copyright (c) 2005-2006 Nokia Corporation. 00010 * This material, including documentation and any related 00011 * computer programs, is protected by copyright controlled by 00012 * Nokia Corporation. 00013 * ============================================================================== 00014 */ 00015 00016 #ifndef BITMAPECOMMAIN_H 00017 #define BITMAPECOMMAIN_H 00018 00019 // INCLUDES 00020 00021 #include <e32std.h> 00022 #include <npupp.h> 00023 #include "bitmapplugin.h" 00024 #include "CEcomBrowserPluginInterface.h" 00025 00026 // DATA TYPES 00027 00028 typedef MPluginAdapter *MPluginAdapterPTR; 00029 typedef CCoeControl *CCoeControlPTR; 00030 00031 // CLASS DECLARATION 00032 00033 /** 00034 * CBitmapEcomMain class. 00035 */ 00036 class CBitmapEcomMain : public CEcomBrowserPluginInterface 00037 { 00038 public: 00039 /** 00040 * Two-phased constructor. 00041 */ 00042 static CBitmapEcomMain* NewL (TAny* aInitParam); 00043 00044 /** 00045 * Destructor. 00046 */ 00047 ~CBitmapEcomMain(); 00048 00049 /** 00050 * Accessor method for retrieving iNPNfunctions 00051 */ 00052 NPNetscapeFuncs* Funcs ( void ) { return iNPNfunctions; } 00053 00054 private: 00055 00056 /** 00057 * Private constuctor 00058 */ 00059 CBitmapEcomMain ( NPNetscapeFuncs* aNPNfunctions ); 00060 00061 /** 00062 * By default Symbian 2nd phase constructor is private. 00063 */ 00064 void ConstructL (NPPluginFuncs* aPluginFuncs ); 00065 00066 NPNetscapeFuncs* iNPNfunctions; 00067 }; 00068 00069 00070 #endif // BITMAPECOMMAIN_H 00071 00072 // End of File 00073
|
© Nokia 2006 |