Leaked source code of windows server 2003
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

  1. // TreeNode.cpp: implementation of the CTreeNode class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #include "stdafx.h"
  5. #define __FILE_ID__ 61
  6. #ifdef _DEBUG
  7. #define new DEBUG_NEW
  8. #undef THIS_FILE
  9. static char THIS_FILE[] = __FILE__;
  10. #endif
  11. IMPLEMENT_DYNAMIC(CTreeNode, CObject)
  12. //////////////////////////////////////////////////////////////////////
  13. // Construction/Destruction
  14. //////////////////////////////////////////////////////////////////////
  15. CTreeNode::CTreeNode(FolderType type):
  16. m_Type(type) // node type
  17. {
  18. DBG_ENTER(TEXT("CTreeNode::CTreeNode"));
  19. ASSERTION ((type >= 0) && (type < FOLDER_TYPE_MAX));
  20. }
  21. CTreeNode::~CTreeNode()
  22. {
  23. }
  24. void CTreeNode::AssertValid() const
  25. {
  26. CObject::AssertValid();
  27. }