Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Functions
nsICaret.h File Reference
#include "nsISupports.h"
#include "nsCOMPtr.h"
#include "nsCoord.h"
#include "nsIFrameSelection.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nsICaret
class  StCaretHider

Defines

#define NS_ICARET_IID

Functions

nsresult NS_NewCaret (nsICaret **aInstancePtrResult)

Define Documentation

Value:
{ 0xdcb01833, 0x509d, 0x4fcb, \
  { 0x8f, 0x7f, 0x6b, 0xeb, 0x00, 0x62, 0x61, 0xb9 } }

Definition at line 58 of file nsICaret.h.


Function Documentation

nsresult NS_NewCaret ( nsICaret **  aInstancePtrResult)

Definition at line 1181 of file nsCaret.cpp.

{
  NS_PRECONDITION(aInstancePtrResult, "null ptr");
  
  nsCaret* caret = new nsCaret();
  if (nsnull == caret)
      return NS_ERROR_OUT_OF_MEMORY;
      
  return caret->QueryInterface(NS_GET_IID(nsICaret), (void**) aInstancePtrResult);
}

Here is the caller graph for this function: