DAInteg.cpp #1

  • //
  • guest/
  • sam_stafford/
  • deepannotate/
  • DAInteg.cpp
  • View
  • Commits
  • Open Download .zip Download (509 B)
#include "DAInteg.h"

#include <clientapi.h>
#include "DAFile.h"
#include "DAFileDict.h"

DAInteg::DAInteg( DAInteg* stack )
:stack_next( stack )
{
	filePath = new StrBuf;
	file = 0x0;
	srev = erev = 0;
}

DAInteg::~DAInteg(void)
{
	delete filePath;
}

void DAInteg::Init( How h, const StrPtr* f, int s, int e )
{
	how = h;
	*filePath = *f;
	srev = s;
	erev = e;
}

const StrPtr& DAInteg::getFilePath()
{
	return *filePath;
}

void DAInteg::FindPointer( DAFileDict* dict )
{
	file = dict->Get( *filePath );
}
# Change User Description Committed
#1 6297 Sam Stafford Work so far on "deep annotate".
 Been getting a lot of questions on
this lately from other people working on the same thing; might as well
pool efforts.