- You need not to include ListBox.h in TreeBox.h
- Always follow practice of including standard libraries first and then the .h files
#pragma once
#include <vector>
#include <string>
class ListBox;
struct ItemInfo
{
std::string _fileName;
std::string _childName;
std::string _time;
std::string _format;
std::string _size;
std::string _nodeKey;
};
class TreeBox
{
};
#pragma once
#include <initializer_list>
#include "TreeBox.h"
class ListBox
{
public:
std::vector <ItemInfo> _itemList;
private:
};
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…