leocad/common/group.h

22 lines
300 B
C
Raw Normal View History

#pragma once
2011-09-07 23:06:51 +02:00
2013-08-09 06:57:18 +02:00
#define LC_MAX_GROUP_NAME 64
2014-05-25 03:45:19 +02:00
class lcGroup
2011-09-07 23:06:51 +02:00
{
public:
2014-05-25 03:45:19 +02:00
lcGroup();
lcGroup* GetTopGroup()
{
return mGroup ? mGroup->GetTopGroup() : this;
}
2011-09-07 23:06:51 +02:00
2014-05-25 20:23:09 +02:00
void FileLoad(lcFile* File);
void CreateName(const std::vector<std::unique_ptr<lcGroup>>& Groups);
2011-09-07 23:06:51 +02:00
2014-05-25 03:45:19 +02:00
lcGroup* mGroup;
2015-10-21 17:03:45 +02:00
QString mName;
2011-09-07 23:06:51 +02:00
};