mirror of
https://github.com/leozide/leocad
synced 2024-12-27 21:58:37 +01:00
26 lines
359 B
C++
26 lines
359 B
C++
#ifndef _GROUP_H_
|
|
#define _GROUP_H_
|
|
|
|
#include "lc_array.h"
|
|
|
|
#define LC_MAX_GROUP_NAME 64
|
|
|
|
class lcGroup
|
|
{
|
|
public:
|
|
lcGroup();
|
|
~lcGroup();
|
|
|
|
lcGroup* GetTopGroup()
|
|
{
|
|
return mGroup ? mGroup->GetTopGroup() : this;
|
|
}
|
|
|
|
void FileLoad(lcFile* File);
|
|
void CreateName(const lcArray<lcGroup*>& Groups);
|
|
|
|
lcGroup* mGroup;
|
|
QString mName;
|
|
};
|
|
|
|
#endif // _GROUP_H_
|