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

git-svn-id: svn://10.0.0.236/trunk@27158 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
waterson%netscape.com 1999-04-12 18:08:43 +00:00
parent 2b679b5ef6
commit ab45c7b417
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.
*/