nsresult nsDocViewerSelectionListener::Init(DocumentViewerImpl *aDocViewer) { mDocViewer = aDocViewer; return NS_OK; }
void Init(DocumentViewerImpl* aDocViewerImpl, nsIPresContext*     aPresContext, nsIPrintOptions*    aPrintOptions, PrintObject*        aPO, PRUint32            aDelay) { NS_IF_RELEASE(mDocViewer); mDocViewer       = aDocViewerImpl; NS_ADDREF(mDocViewer);  mPresContext     = aPresContext; mPrintOptions    = aPrintOptions; mPrintObj        = aPO; mDelay           = aDelay; }
nsresult nsDocViewerSelectionListener::Init(DocumentViewerImpl *aDocViewer){  mDocViewer = aDocViewer;  return NS_OK;}