leocad/common/group.h

25 lines
316 B
C
Raw Normal View History

#pragma once
2011-09-07 21:06:51 +00:00
2014-05-25 01:45:19 +00:00
#include "lc_array.h"
2013-08-09 04:57:18 +00:00
#define LC_MAX_GROUP_NAME 64
2014-05-25 01:45:19 +00:00
class lcGroup
2011-09-07 21:06:51 +00:00
{
public:
2014-05-25 01:45:19 +00:00
lcGroup();
~lcGroup();
lcGroup* GetTopGroup()
{
return mGroup ? mGroup->GetTopGroup() : this;
}
2011-09-07 21:06:51 +00:00
2014-05-25 18:23:09 +00:00
void FileLoad(lcFile* File);
2014-12-15 23:55:17 +00:00
void CreateName(const lcArray<lcGroup*>& Groups);
2011-09-07 21:06:51 +00:00
2014-05-25 01:45:19 +00:00
lcGroup* mGroup;
2015-10-21 15:03:45 +00:00
QString mName;
2011-09-07 21:06:51 +00:00
};