зеркало из https://github.com/mozilla/pjs.git
Added static IID() method. This member function will be generated automatically in the future.
This commit is contained in:
Родитель
d18aa1ed6e
Коммит
2513a5445e
|
@ -48,6 +48,8 @@ class nsIDOMRange;
|
|||
// is supported by all content objects.
|
||||
class nsIContent : public nsISupports {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_ICONTENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetDocument(nsIDocument*& aResult) const = 0;
|
||||
|
||||
NS_IMETHOD SetDocument(nsIDocument* aDocument, PRBool aDeep) = 0;
|
||||
|
|
|
@ -34,6 +34,8 @@ class nsIContent;
|
|||
|
||||
class nsIStyleRule : public nsISupports {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_ISTYLE_RULE_IID; return iid; }
|
||||
|
||||
NS_IMETHOD Equals(const nsIStyleRule* aRule, PRBool& aResult) const = 0;
|
||||
NS_IMETHOD HashValue(PRUint32& aValue) const = 0;
|
||||
|
||||
|
|
|
@ -40,6 +40,8 @@ typedef void (*nsMapAttributesFunc)(nsIHTMLAttributes* aAttributes,
|
|||
// Abstract interface for all html content
|
||||
class nsIHTMLContent : public nsIContent {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IHTMLCONTENT_IID; return iid; }
|
||||
|
||||
/**
|
||||
* If this html content is a container, then compact asks it to minimize
|
||||
* it's storage usage.
|
||||
|
|
|
@ -30,6 +30,8 @@ class nsIDOMNode;
|
|||
|
||||
class nsICSSStyleSheet : public nsIStyleSheet {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_ICSS_STYLE_SHEET_IID; return iid; }
|
||||
|
||||
virtual PRBool ContainsStyleSheet(nsIURL* aURL) const = 0;
|
||||
|
||||
virtual void AppendStyleSheet(nsICSSStyleSheet* aSheet) = 0;
|
||||
|
|
|
@ -99,6 +99,8 @@ public:
|
|||
|
||||
class nsICSSStyleRule : public nsIStyleRule {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_ICSS_STYLE_RULE_IID; return iid; }
|
||||
|
||||
virtual nsCSSSelector* FirstSelector(void) = 0;
|
||||
virtual void AddSelector(const nsCSSSelector& aSelector) = 0;
|
||||
virtual void DeleteSelector(nsCSSSelector* aSelector) = 0;
|
||||
|
|
|
@ -48,6 +48,8 @@ class nsIDOMRange;
|
|||
// is supported by all content objects.
|
||||
class nsIContent : public nsISupports {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_ICONTENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetDocument(nsIDocument*& aResult) const = 0;
|
||||
|
||||
NS_IMETHOD SetDocument(nsIDocument* aDocument, PRBool aDeep) = 0;
|
||||
|
|
|
@ -237,6 +237,8 @@ inline nsBorderEdges::nsBorderEdges()
|
|||
|
||||
class nsIStyleContext : public nsISupports {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_ISTYLECONTEXT_IID; return iid; }
|
||||
|
||||
virtual PRBool Equals(const nsIStyleContext* aOther) const = 0;
|
||||
virtual PRUint32 HashValue(void) const = 0;
|
||||
|
||||
|
|
|
@ -34,6 +34,8 @@ class nsIContent;
|
|||
|
||||
class nsIStyleRule : public nsISupports {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_ISTYLE_RULE_IID; return iid; }
|
||||
|
||||
NS_IMETHOD Equals(const nsIStyleRule* aRule, PRBool& aResult) const = 0;
|
||||
NS_IMETHOD HashValue(PRUint32& aValue) const = 0;
|
||||
|
||||
|
|
|
@ -40,6 +40,8 @@ typedef void (*nsMapAttributesFunc)(nsIHTMLAttributes* aAttributes,
|
|||
// Abstract interface for all html content
|
||||
class nsIHTMLContent : public nsIContent {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IHTMLCONTENT_IID; return iid; }
|
||||
|
||||
/**
|
||||
* If this html content is a container, then compact asks it to minimize
|
||||
* it's storage usage.
|
||||
|
|
|
@ -30,6 +30,8 @@ class nsIDOMNode;
|
|||
|
||||
class nsICSSStyleSheet : public nsIStyleSheet {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_ICSS_STYLE_SHEET_IID; return iid; }
|
||||
|
||||
virtual PRBool ContainsStyleSheet(nsIURL* aURL) const = 0;
|
||||
|
||||
virtual void AppendStyleSheet(nsICSSStyleSheet* aSheet) = 0;
|
||||
|
|
|
@ -99,6 +99,8 @@ public:
|
|||
|
||||
class nsICSSStyleRule : public nsIStyleRule {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_ICSS_STYLE_RULE_IID; return iid; }
|
||||
|
||||
virtual nsCSSSelector* FirstSelector(void) = 0;
|
||||
virtual void AddSelector(const nsCSSSelector& aSelector) = 0;
|
||||
virtual void DeleteSelector(nsCSSSelector* aSelector) = 0;
|
||||
|
|
|
@ -99,6 +99,8 @@ public:
|
|||
|
||||
class nsICSSStyleRule : public nsIStyleRule {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_ICSS_STYLE_RULE_IID; return iid; }
|
||||
|
||||
virtual nsCSSSelector* FirstSelector(void) = 0;
|
||||
virtual void AddSelector(const nsCSSSelector& aSelector) = 0;
|
||||
virtual void DeleteSelector(nsCSSSelector* aSelector) = 0;
|
||||
|
|
|
@ -30,6 +30,8 @@ class nsIDOMNode;
|
|||
|
||||
class nsICSSStyleSheet : public nsIStyleSheet {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_ICSS_STYLE_SHEET_IID; return iid; }
|
||||
|
||||
virtual PRBool ContainsStyleSheet(nsIURL* aURL) const = 0;
|
||||
|
||||
virtual void AppendStyleSheet(nsICSSStyleSheet* aSheet) = 0;
|
||||
|
|
|
@ -34,6 +34,8 @@ class nsIContent;
|
|||
|
||||
class nsIStyleRule : public nsISupports {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_ISTYLE_RULE_IID; return iid; }
|
||||
|
||||
NS_IMETHOD Equals(const nsIStyleRule* aRule, PRBool& aResult) const = 0;
|
||||
NS_IMETHOD HashValue(PRUint32& aValue) const = 0;
|
||||
|
||||
|
|
|
@ -34,6 +34,7 @@ class nsIURLGroup;
|
|||
|
||||
class nsIURL : public nsISupports {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_IURL_IID; return iid; }
|
||||
|
||||
/** Equality operator */
|
||||
NS_IMETHOD_(PRBool) Equals(const nsIURL *aURL) const = 0;
|
||||
|
|
|
@ -32,6 +32,8 @@ typedef PRBool (*nsISupportsArrayEnumFunc)(nsISupports* aElement, void *aData);
|
|||
|
||||
class nsISupportsArray : public nsISupports {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_ISUPPORTSARRAY_IID; return iid; }
|
||||
|
||||
NS_IMETHOD_(nsISupportsArray&) operator=(const nsISupportsArray& other) = 0;
|
||||
NS_IMETHOD_(PRBool) operator==(const nsISupportsArray& other) const = 0;
|
||||
NS_IMETHOD_(PRBool) Equals(const nsISupportsArray* other) const = 0;
|
||||
|
|
|
@ -32,6 +32,8 @@ typedef PRBool (*nsISupportsArrayEnumFunc)(nsISupports* aElement, void *aData);
|
|||
|
||||
class nsISupportsArray : public nsISupports {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_ISUPPORTSARRAY_IID; return iid; }
|
||||
|
||||
NS_IMETHOD_(nsISupportsArray&) operator=(const nsISupportsArray& other) = 0;
|
||||
NS_IMETHOD_(PRBool) operator==(const nsISupportsArray& other) const = 0;
|
||||
NS_IMETHOD_(PRBool) Equals(const nsISupportsArray* other) const = 0;
|
||||
|
|
Загрузка…
Ссылка в новой задаче