// FileRev.cpp: implementation of the FileRev class.
//
//////////////////////////////////////////////////////////////////////

#include "FileHead.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

FileRev::FileRev(StrBuf newrev, FileHead* parent, StrBuf newchange, short revtype)
{
	rev = newrev;
	change = newchange;
	file = parent;
	type = revtype;
	next = NULL;
	from = NULL;
	fromcheck = false;
	intocheck = false;
	fromrev = StrBuf();
	fromfile = StrBuf();
	intofiles = ListList();
	intorevs = ListList();
	ent = NULL;
}

FileRev::~FileRev()
{
	if (next != NULL) delete next;
}
