Added GetIID() method so this can be used with nsCOMPtr.

This commit is contained in:
waterson%netscape.com 1999-04-12 18:08:43 +00:00
parent 88527c7d24
commit 050221001c
2 changed files with 4 additions and 0 deletions

View File

@ -33,6 +33,8 @@ class nsIContent;
*/
class nsITextContent : public nsISupports {
public:
static const nsIID& GetIID() { static nsIID iid = NS_ITEXT_CONTENT_IID; return iid; }
/**
* Get direct access to the text in the text content.
*/

View File

@ -33,6 +33,8 @@ class nsIContent;
*/
class nsITextContent : public nsISupports {
public:
static const nsIID& GetIID() { static nsIID iid = NS_ITEXT_CONTENT_IID; return iid; }
/**
* Get direct access to the text in the text content.
*/