mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-07 20:17:37 +00:00
41 lines
1.1 KiB
C++
41 lines
1.1 KiB
C++
#ifndef ACTIVEXPLUGININSTANCE_H
|
|
#define ACTIVEXPLUGININSTANCE_H
|
|
|
|
class CActiveXPluginInstance : public nsIPluginInstance
|
|
{
|
|
protected:
|
|
virtual ~CActiveXPluginInstance();
|
|
|
|
CControlSite *mControlSite;
|
|
nsPluginWindow mPluginWindow;
|
|
|
|
public:
|
|
CActiveXPluginInstance();
|
|
|
|
// nsISupports overrides
|
|
NS_DECL_ISUPPORTS
|
|
|
|
// nsIEventHandler overrides
|
|
NS_IMETHOD HandleEvent(nsPluginEvent* event, PRBool* handled);
|
|
|
|
// nsIPluginInstance overrides
|
|
NS_IMETHOD Initialize(nsIPluginInstancePeer* peer);
|
|
NS_IMETHOD GetPeer(nsIPluginInstancePeer* *resultingPeer);
|
|
NS_IMETHOD Start(void);
|
|
NS_IMETHOD Stop(void);
|
|
NS_IMETHOD Destroy(void);
|
|
NS_IMETHOD SetWindow(nsPluginWindow* window);
|
|
#ifdef NEW_PLUGIN_STREAM_API
|
|
NS_IMETHOD NewStream(nsIPluginStreamListener** listener);
|
|
#else
|
|
NS_IMETHOD NewStream(nsIPluginStreamPeer* peer, nsIPluginStream* *result);
|
|
#endif
|
|
NS_IMETHOD Print(nsPluginPrint* platformPrint);
|
|
#ifndef NEW_PLUGIN_STREAM_API
|
|
NS_IMETHOD URLNotify(const char* url, const char* target, nsPluginReason reason, void* notifyData);
|
|
#endif
|
|
NS_IMETHOD GetValue(nsPluginInstanceVariable variable, void *value);
|
|
};
|
|
|
|
|
|
#endif |