hi & thanks for looking :)

Recently I picked up an unfinished BeOS embedding implementation at
http://bugzilla.mozilla.org/show_bug.cgi?id=134107 , last updated
sometime 2002-07-23.  I intend to finish his work.

during the compile of a 2004-01-26 nightly mozilla-source.tar.gz,   the
compiler returns "implicit declaration of function `int
NS_INIT_REFCNT(...)'" .  grepping the mozilla source directory, only the
beos embedding code call NS_INIT_REFCNT().

example clipping:
EmbedWindow::EmbedWindow(void)
{
  NS_INIT_REFCNT();
  mOwner       = nsnull;
  mVisibility  = PR_FALSE;
  mIsModal     = PR_FALSE;
}

also, NS_INIT_REFCNT is mentioned in
/mozilla/calendar/libxpical/oelCallmpl.cpp :
#ifdef NS_INIT_REFCNT /* A temporary way of keeping backward
compatibility with Mozilla 1.0 source compile */
delay = m_alarmtimer->GetDelay();
#else
m_alarmtimer->GetDelay( &delay );
#endif

is NS_INIT_REFCNT deprecated?
should the beos embedding code use something instead?

any help is very appreciated.  thanks.

mmadia
_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to