Back to index

lightning-sunbird  0.9+nobinonly
Functions
nsComposerCommandsUpdater.cpp File Reference
#include "nsIDOMWindow.h"
#include "nsComposerCommandsUpdater.h"
#include "nsComponentManagerUtils.h"
#include "nsIDOMDocument.h"
#include "nsISelection.h"
#include "nsIScriptGlobalObject.h"
#include "nsIInterfaceRequestorUtils.h"
#include "nsString.h"
#include "nsICommandManager.h"
#include "nsIDocShell.h"
#include "nsITransactionManager.h"

Go to the source code of this file.

Functions

 NS_IMPL_ISUPPORTS4 (nsComposerCommandsUpdater, nsISelectionListener, nsIDocumentStateListener, nsITransactionListener, nsITimerCallback) NS_IMETHODIMP nsComposerCommandsUpdater
nsresult NS_NewComposerCommandsUpdater (nsISelectionListener **aInstancePtrResult)

Function Documentation

Definition at line 69 of file nsComposerCommandsUpdater.cpp.

{
  // Trigger an nsIObserve notification that the document has been created
  UpdateOneCommand("obs_documentCreated");
  return NS_OK;
}

Here is the call graph for this function:

Definition at line 413 of file nsComposerCommandsUpdater.cpp.

{
  nsComposerCommandsUpdater* newThang = new nsComposerCommandsUpdater;
  if (!newThang)
    return NS_ERROR_OUT_OF_MEMORY;

  return newThang->QueryInterface(NS_GET_IID(nsISelectionListener),
                                  (void **)aInstancePtrResult);
}