⛏️ index : haiku.git

/*
 * Copyright 2009-2011, Ingo Weinhold, ingo_weinhold@gmx.de.
 * Distributed under the terms of the MIT License.
 */


#include "PackageNodeAttribute.h"

#include <stdlib.h>
#include <string.h>

#include "ClassCache.h"


CLASS_CACHE(PackageNodeAttribute);


PackageNodeAttribute::PackageNodeAttribute(uint32 type,
	const PackageData& data)
	:
	fName(),
	fIndexCookie(NULL),
	fData(data),
	fType(type)
{
}


PackageNodeAttribute::~PackageNodeAttribute()
{
}


void
PackageNodeAttribute::Init(const String& name)
{
	fName = name;
}