webengine/osswebengine/WebKit/s60/plugins/PluginHandler.h
branchRCL_3
changeset 48 79859ed3eea9
parent 44 800203832575
child 49 919f36ff910f
equal deleted inserted replaced
47:e1bea15f9a39 48:79859ed3eea9
    24 #include <e32std.h>
    24 #include <e32std.h>
    25 #include <npupp.h>
    25 #include <npupp.h>
    26 #include <f32file.h>
    26 #include <f32file.h>
    27 #include <badesca.h>
    27 #include <badesca.h>
    28 #include <wtf/HashSet.h>
    28 #include <wtf/HashSet.h>
    29 #include <ECom/ImplementationInformation.h>    // ecom
    29 #include <ecom/implementationinformation.h>    // ecom
    30 #include "Ecombrowserplugininterface.h"
    30 #include "EcomBrowserPluginInterface.h"
    31 #include "WebCorePluginHandler.h"
    31 #include "WebCorePluginHandler.h"
    32 
    32 
    33 // FORWARD DECLARATIONS
    33 // FORWARD DECLARATIONS
    34 class PluginInfo;
    34 class PluginInfo;
    35 class WebView;
    35 class WebView;
   144         void  setPluginToActivate(PluginSkin* pluginObj) {m_pluginToActivate = pluginObj; };
   144         void  setPluginToActivate(PluginSkin* pluginObj) {m_pluginToActivate = pluginObj; };
   145         PluginSkin*  activePlugin() { return m_activePlugin; };
   145         PluginSkin*  activePlugin() { return m_activePlugin; };
   146         void setActivePlugin(PluginSkin* pluginObj) { m_activePlugin = pluginObj; };
   146         void setActivePlugin(PluginSkin* pluginObj) { m_activePlugin = pluginObj; };
   147         HBufC* pluginMimeByExtention(const TPtrC8& url);
   147         HBufC* pluginMimeByExtention(const TPtrC8& url);
   148         PluginInfo* pluginInfoByExtention(const TPtrC8& aUrl, TInt* aExtIdx);
   148         PluginInfo* pluginInfoByExtention(const TPtrC8& aUrl, TInt* aExtIdx);
   149         RPointerArray<PluginSkin>& getVisiblePlugins() { return m_visiblePlugins; }
       
   150 
   149 
   151     private: // New functions
   150     private: // New functions
   152 
   151 
   153         /**
   152         /**
   154         * Scans for new plugins.
   153         * Scans for new plugins.
   201 
   200 
   202         CIdle*                      m_idle;              //Active Object to initailise
   201         CIdle*                      m_idle;              //Active Object to initailise
   203                                                         //the plugins from drives
   202                                                         //the plugins from drives
   204         PluginSkin*                 m_pluginToActivate;
   203         PluginSkin*                 m_pluginToActivate;
   205         PluginSkin*                 m_activePlugin;
   204         PluginSkin*                 m_activePlugin;
   206         RPointerArray<PluginSkin>   m_visiblePlugins;    // Array to hold visible plugins 
       
   207     };
   205     };
   208 
   206 
   209 
   207 
   210 /**
   208 /**
   211 * A private helper class used by PluginHandler which is used
   209 * A private helper class used by PluginHandler which is used