зеркало из https://github.com/mozilla/pjs.git
added IID() accessor.
This commit is contained in:
Родитель
974a6c2983
Коммит
e00ea5901f
|
@ -41,6 +41,14 @@
|
|||
#include "nsIPluginStreamListener.h"
|
||||
#endif
|
||||
|
||||
#define NS_IPLUGININSTANCE_IID \
|
||||
{ /* ebe00f40-0199-11d2-815b-006008119d7a */ \
|
||||
0xebe00f40, \
|
||||
0x0199, \
|
||||
0x11d2, \
|
||||
{0x81, 0x5b, 0x00, 0x60, 0x08, 0x11, 0x9d, 0x7a} \
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Plugin Instance Interface
|
||||
|
||||
|
@ -63,6 +71,7 @@
|
|||
*/
|
||||
class nsIPluginInstance : public nsISupports {
|
||||
public:
|
||||
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IPLUGININSTANCE_IID)
|
||||
|
||||
/**
|
||||
* Initializes a newly created plugin instance, passing to it the plugin
|
||||
|
@ -219,14 +228,6 @@ public:
|
|||
HandleEvent(nsPluginEvent* event, PRBool* handled) = 0;
|
||||
};
|
||||
|
||||
#define NS_IPLUGININSTANCE_IID \
|
||||
{ /* ebe00f40-0199-11d2-815b-006008119d7a */ \
|
||||
0xebe00f40, \
|
||||
0x0199, \
|
||||
0x11d2, \
|
||||
{0x81, 0x5b, 0x00, 0x60, 0x08, 0x11, 0x9d, 0x7a} \
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#endif /* nsIPluginInstance_h___ */
|
||||
|
|
|
@ -39,6 +39,14 @@
|
|||
|
||||
class nsIOutputStream;
|
||||
|
||||
#define NS_IPLUGININSTANCEPEER_IID \
|
||||
{ /* 4b7cea20-019b-11d2-815b-006008119d7a */ \
|
||||
0x4b7cea20, \
|
||||
0x019b, \
|
||||
0x11d2, \
|
||||
{0x81, 0x5b, 0x00, 0x60, 0x08, 0x11, 0x9d, 0x7a} \
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Plugin Instance Peer Interface
|
||||
|
||||
|
@ -53,6 +61,7 @@ class nsIOutputStream;
|
|||
*/
|
||||
class nsIPluginInstancePeer : public nsISupports {
|
||||
public:
|
||||
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IPLUGININSTANCEPEER_IID)
|
||||
|
||||
/**
|
||||
* Returns the value of a variable associated with the plugin manager.
|
||||
|
@ -129,14 +138,6 @@ public:
|
|||
|
||||
};
|
||||
|
||||
#define NS_IPLUGININSTANCEPEER_IID \
|
||||
{ /* 4b7cea20-019b-11d2-815b-006008119d7a */ \
|
||||
0x4b7cea20, \
|
||||
0x019b, \
|
||||
0x11d2, \
|
||||
{0x81, 0x5b, 0x00, 0x60, 0x08, 0x11, 0x9d, 0x7a} \
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#endif /* nsIPluginInstancePeer_h___ */
|
||||
|
|
|
@ -39,6 +39,23 @@
|
|||
|
||||
class nsIPluginStreamListener;
|
||||
|
||||
#define NS_IPLUGINMANAGER_IID \
|
||||
{ /* da58ad80-4eb6-11d2-8164-006008119d7a */ \
|
||||
0xda58ad80, \
|
||||
0x4eb6, \
|
||||
0x11d2, \
|
||||
{0x81, 0x64, 0x00, 0x60, 0x08, 0x11, 0x9d, 0x7a} \
|
||||
}
|
||||
|
||||
// CLSID for the browser's global plugin manager object.
|
||||
#define NS_PLUGINMANAGER_CID \
|
||||
{ /* ce768990-5a4e-11d2-8164-006008119d7a */ \
|
||||
0xce768990, \
|
||||
0x5a4e, \
|
||||
0x11d2, \
|
||||
{0x81, 0x64, 0x00, 0x60, 0x08, 0x11, 0x9d, 0x7a} \
|
||||
}
|
||||
|
||||
/**
|
||||
* The nsIPluginManager interface defines the minimum set of functionality that
|
||||
* the browser will support if it allows plugins. Plugins can call QueryInterface
|
||||
|
@ -47,6 +64,7 @@ class nsIPluginStreamListener;
|
|||
*/
|
||||
class nsIPluginManager : public nsISupports {
|
||||
public:
|
||||
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IPLUGINMANAGER_IID)
|
||||
|
||||
/**
|
||||
* Returns the value of a variable associated with the plugin manager.
|
||||
|
@ -176,23 +194,6 @@ public:
|
|||
|
||||
};
|
||||
|
||||
#define NS_IPLUGINMANAGER_IID \
|
||||
{ /* da58ad80-4eb6-11d2-8164-006008119d7a */ \
|
||||
0xda58ad80, \
|
||||
0x4eb6, \
|
||||
0x11d2, \
|
||||
{0x81, 0x64, 0x00, 0x60, 0x08, 0x11, 0x9d, 0x7a} \
|
||||
}
|
||||
|
||||
// CLSID for the browser's global plugin manager object.
|
||||
#define NS_PLUGINMANAGER_CID \
|
||||
{ /* ce768990-5a4e-11d2-8164-006008119d7a */ \
|
||||
0xce768990, \
|
||||
0x5a4e, \
|
||||
0x11d2, \
|
||||
{0x81, 0x64, 0x00, 0x60, 0x08, 0x11, 0x9d, 0x7a} \
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#endif /* nsIPluginManager_h___ */
|
||||
|
|
|
@ -37,6 +37,14 @@
|
|||
#include "nsplugindefs.h"
|
||||
#include "nsISupports.h"
|
||||
|
||||
#define NS_IPLUGINTAGINFO_IID \
|
||||
{ /* 5f1ec1d0-019b-11d2-815b-006008119d7a */ \
|
||||
0x5f1ec1d0, \
|
||||
0x019b, \
|
||||
0x11d2, \
|
||||
{0x81, 0x5b, 0x00, 0x60, 0x08, 0x11, 0x9d, 0x7a} \
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Plugin Tag Info Interface
|
||||
// This interface provides information about the HTML tag on the page.
|
||||
|
@ -44,6 +52,7 @@
|
|||
|
||||
class nsIPluginTagInfo : public nsISupports {
|
||||
public:
|
||||
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IPLUGINTAGINFO_IID)
|
||||
|
||||
// QueryInterface on nsIPluginInstancePeer to get this.
|
||||
|
||||
|
@ -69,14 +78,6 @@ public:
|
|||
|
||||
};
|
||||
|
||||
#define NS_IPLUGINTAGINFO_IID \
|
||||
{ /* 5f1ec1d0-019b-11d2-815b-006008119d7a */ \
|
||||
0x5f1ec1d0, \
|
||||
0x019b, \
|
||||
0x11d2, \
|
||||
{0x81, 0x5b, 0x00, 0x60, 0x08, 0x11, 0x9d, 0x7a} \
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#endif /* nsIPluginTagInfo_h___ */
|
||||
|
|
|
@ -41,6 +41,14 @@
|
|||
#include "nsIPluginStreamListener.h"
|
||||
#endif
|
||||
|
||||
#define NS_IPLUGININSTANCE_IID \
|
||||
{ /* ebe00f40-0199-11d2-815b-006008119d7a */ \
|
||||
0xebe00f40, \
|
||||
0x0199, \
|
||||
0x11d2, \
|
||||
{0x81, 0x5b, 0x00, 0x60, 0x08, 0x11, 0x9d, 0x7a} \
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Plugin Instance Interface
|
||||
|
||||
|
@ -63,6 +71,7 @@
|
|||
*/
|
||||
class nsIPluginInstance : public nsISupports {
|
||||
public:
|
||||
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IPLUGININSTANCE_IID)
|
||||
|
||||
/**
|
||||
* Initializes a newly created plugin instance, passing to it the plugin
|
||||
|
@ -219,14 +228,6 @@ public:
|
|||
HandleEvent(nsPluginEvent* event, PRBool* handled) = 0;
|
||||
};
|
||||
|
||||
#define NS_IPLUGININSTANCE_IID \
|
||||
{ /* ebe00f40-0199-11d2-815b-006008119d7a */ \
|
||||
0xebe00f40, \
|
||||
0x0199, \
|
||||
0x11d2, \
|
||||
{0x81, 0x5b, 0x00, 0x60, 0x08, 0x11, 0x9d, 0x7a} \
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#endif /* nsIPluginInstance_h___ */
|
||||
|
|
|
@ -39,6 +39,14 @@
|
|||
|
||||
class nsIOutputStream;
|
||||
|
||||
#define NS_IPLUGININSTANCEPEER_IID \
|
||||
{ /* 4b7cea20-019b-11d2-815b-006008119d7a */ \
|
||||
0x4b7cea20, \
|
||||
0x019b, \
|
||||
0x11d2, \
|
||||
{0x81, 0x5b, 0x00, 0x60, 0x08, 0x11, 0x9d, 0x7a} \
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Plugin Instance Peer Interface
|
||||
|
||||
|
@ -53,6 +61,7 @@ class nsIOutputStream;
|
|||
*/
|
||||
class nsIPluginInstancePeer : public nsISupports {
|
||||
public:
|
||||
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IPLUGININSTANCEPEER_IID)
|
||||
|
||||
/**
|
||||
* Returns the value of a variable associated with the plugin manager.
|
||||
|
@ -129,14 +138,6 @@ public:
|
|||
|
||||
};
|
||||
|
||||
#define NS_IPLUGININSTANCEPEER_IID \
|
||||
{ /* 4b7cea20-019b-11d2-815b-006008119d7a */ \
|
||||
0x4b7cea20, \
|
||||
0x019b, \
|
||||
0x11d2, \
|
||||
{0x81, 0x5b, 0x00, 0x60, 0x08, 0x11, 0x9d, 0x7a} \
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#endif /* nsIPluginInstancePeer_h___ */
|
||||
|
|
|
@ -39,6 +39,23 @@
|
|||
|
||||
class nsIPluginStreamListener;
|
||||
|
||||
#define NS_IPLUGINMANAGER_IID \
|
||||
{ /* da58ad80-4eb6-11d2-8164-006008119d7a */ \
|
||||
0xda58ad80, \
|
||||
0x4eb6, \
|
||||
0x11d2, \
|
||||
{0x81, 0x64, 0x00, 0x60, 0x08, 0x11, 0x9d, 0x7a} \
|
||||
}
|
||||
|
||||
// CLSID for the browser's global plugin manager object.
|
||||
#define NS_PLUGINMANAGER_CID \
|
||||
{ /* ce768990-5a4e-11d2-8164-006008119d7a */ \
|
||||
0xce768990, \
|
||||
0x5a4e, \
|
||||
0x11d2, \
|
||||
{0x81, 0x64, 0x00, 0x60, 0x08, 0x11, 0x9d, 0x7a} \
|
||||
}
|
||||
|
||||
/**
|
||||
* The nsIPluginManager interface defines the minimum set of functionality that
|
||||
* the browser will support if it allows plugins. Plugins can call QueryInterface
|
||||
|
@ -47,6 +64,7 @@ class nsIPluginStreamListener;
|
|||
*/
|
||||
class nsIPluginManager : public nsISupports {
|
||||
public:
|
||||
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IPLUGINMANAGER_IID)
|
||||
|
||||
/**
|
||||
* Returns the value of a variable associated with the plugin manager.
|
||||
|
@ -176,23 +194,6 @@ public:
|
|||
|
||||
};
|
||||
|
||||
#define NS_IPLUGINMANAGER_IID \
|
||||
{ /* da58ad80-4eb6-11d2-8164-006008119d7a */ \
|
||||
0xda58ad80, \
|
||||
0x4eb6, \
|
||||
0x11d2, \
|
||||
{0x81, 0x64, 0x00, 0x60, 0x08, 0x11, 0x9d, 0x7a} \
|
||||
}
|
||||
|
||||
// CLSID for the browser's global plugin manager object.
|
||||
#define NS_PLUGINMANAGER_CID \
|
||||
{ /* ce768990-5a4e-11d2-8164-006008119d7a */ \
|
||||
0xce768990, \
|
||||
0x5a4e, \
|
||||
0x11d2, \
|
||||
{0x81, 0x64, 0x00, 0x60, 0x08, 0x11, 0x9d, 0x7a} \
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#endif /* nsIPluginManager_h___ */
|
||||
|
|
|
@ -37,6 +37,14 @@
|
|||
#include "nsplugindefs.h"
|
||||
#include "nsISupports.h"
|
||||
|
||||
#define NS_IPLUGINTAGINFO_IID \
|
||||
{ /* 5f1ec1d0-019b-11d2-815b-006008119d7a */ \
|
||||
0x5f1ec1d0, \
|
||||
0x019b, \
|
||||
0x11d2, \
|
||||
{0x81, 0x5b, 0x00, 0x60, 0x08, 0x11, 0x9d, 0x7a} \
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Plugin Tag Info Interface
|
||||
// This interface provides information about the HTML tag on the page.
|
||||
|
@ -44,6 +52,7 @@
|
|||
|
||||
class nsIPluginTagInfo : public nsISupports {
|
||||
public:
|
||||
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IPLUGINTAGINFO_IID)
|
||||
|
||||
// QueryInterface on nsIPluginInstancePeer to get this.
|
||||
|
||||
|
@ -69,14 +78,6 @@ public:
|
|||
|
||||
};
|
||||
|
||||
#define NS_IPLUGINTAGINFO_IID \
|
||||
{ /* 5f1ec1d0-019b-11d2-815b-006008119d7a */ \
|
||||
0x5f1ec1d0, \
|
||||
0x019b, \
|
||||
0x11d2, \
|
||||
{0x81, 0x5b, 0x00, 0x60, 0x08, 0x11, 0x9d, 0x7a} \
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#endif /* nsIPluginTagInfo_h___ */
|
||||
|
|
Загрузка…
Ссылка в новой задаче