You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
815 B
40 lines
815 B
// TreeNode.cpp: implementation of the CTreeNode class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#include "stdafx.h"
|
|
#define __FILE_ID__ 61
|
|
|
|
#ifdef _DEBUG
|
|
#define new DEBUG_NEW
|
|
#undef THIS_FILE
|
|
static char THIS_FILE[] = __FILE__;
|
|
#endif
|
|
|
|
IMPLEMENT_DYNAMIC(CTreeNode, CObject)
|
|
|
|
//////////////////////////////////////////////////////////////////////
|
|
// Construction/Destruction
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
CTreeNode::CTreeNode(FolderType type):
|
|
m_Type(type) // node type
|
|
{
|
|
DBG_ENTER(TEXT("CTreeNode::CTreeNode"));
|
|
|
|
ASSERTION ((type >= 0) && (type < FOLDER_TYPE_MAX));
|
|
}
|
|
|
|
CTreeNode::~CTreeNode()
|
|
{
|
|
}
|
|
|
|
void CTreeNode::AssertValid() const
|
|
{
|
|
CObject::AssertValid();
|
|
}
|
|
|
|
|
|
|
|
|
|
|