Not part of build.

This commit is contained in:
hyatt%netscape.com 2001-02-14 20:16:02 +00:00
parent 82cff61e8e
commit b6b220e133
2 changed files with 40 additions and 0 deletions

View File

@ -25,6 +25,26 @@
#include "nsOutlinerSelection.h"
#include "nsIOutlinerBoxObject.h"
// A helper class for managing our ranges of selection.
struct nsOutlinerRange
{
PRInt32 mMin;
PRInt32 mMax;
nsOutlinerRange* mNext;
nsOutlinerRange* mPrev;
nsOutlinerRange(PRInt32 aSingleVal):mNext(nsnull), mMin(aSingleVal), mMax(aSingleVal) {};
nsOutlinerRange(PRInt32 aMin, PRInt32 aMax) :mNext(nsnull), mMin(aMin), mMax(aMax) {};
~nsOutlinerRange() { delete mNext; };
void Connect(nsOutlinerRange* aPrev = nsnull, nsOutlinerRange* aNext = nsnull) {
mPrev = aPrev;
mNext = aNext;
}
};
nsOutlinerSelection::nsOutlinerSelection(nsIOutlinerBoxObject* aOutliner)
{
NS_INIT_ISUPPORTS();

View File

@ -25,6 +25,26 @@
#include "nsOutlinerSelection.h"
#include "nsIOutlinerBoxObject.h"
// A helper class for managing our ranges of selection.
struct nsOutlinerRange
{
PRInt32 mMin;
PRInt32 mMax;
nsOutlinerRange* mNext;
nsOutlinerRange* mPrev;
nsOutlinerRange(PRInt32 aSingleVal):mNext(nsnull), mMin(aSingleVal), mMax(aSingleVal) {};
nsOutlinerRange(PRInt32 aMin, PRInt32 aMax) :mNext(nsnull), mMin(aMin), mMax(aMax) {};
~nsOutlinerRange() { delete mNext; };
void Connect(nsOutlinerRange* aPrev = nsnull, nsOutlinerRange* aNext = nsnull) {
mPrev = aPrev;
mNext = aNext;
}
};
nsOutlinerSelection::nsOutlinerSelection(nsIOutlinerBoxObject* aOutliner)
{
NS_INIT_ISUPPORTS();