new selection change to come ifdefs going in

This commit is contained in:
mjudge%netscape.com 1998-12-03 21:48:32 +00:00
parent afbfa1f451
commit e48bcc6f89
3 changed files with 10 additions and 1 deletions

View File

@ -52,9 +52,12 @@
// Find/Serach Includes
#if XP_NEW_SELECTION
#else
#include "nsISelection.h"
#include "nsSelectionRange.h"
#include "nsSelectionPoint.h"
#endif
const PRInt32 kForward = 0;
const PRInt32 kBackward = 1;

View File

@ -21,7 +21,10 @@ LIBRARY_NAME=raptorhtmldoc_s
MODULE=raptor
REQUIRES=xpcom raptor pref
DEFINES=-D_IMPL_NS_HTML -DWIN32_LEAN_AND_MEAN
DEFINES=-D_IMPL_NS_HTML -DWIN32_LEAN_AND_MEAN
!if defined(XP_NEW_SELECTION)
DEFINES = $(DEFINES) -DXP_NEW_SELECTION
!endif
CPPSRCS= \
nsHTMLContentSink.cpp \

View File

@ -52,9 +52,12 @@
// Find/Serach Includes
#if XP_NEW_SELECTION
#else
#include "nsISelection.h"
#include "nsSelectionRange.h"
#include "nsSelectionPoint.h"
#endif
const PRInt32 kForward = 0;
const PRInt32 kBackward = 1;