2012-03-23 00:44:56 +01:00
|
|
|
#ifndef _GROUP_H_
|
|
|
|
#define _GROUP_H_
|
2011-09-07 23:06:51 +02:00
|
|
|
|
2013-08-09 06:57:18 +02:00
|
|
|
#define LC_MAX_GROUP_NAME 64
|
|
|
|
|
2011-09-07 23:06:51 +02:00
|
|
|
class Group
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
// void DoSaveLoad(CArchive& ar, CCADDoc* pDoc);
|
|
|
|
Group();
|
|
|
|
~Group();
|
|
|
|
|
|
|
|
void SetGroup(Group* pGroup);
|
|
|
|
void UnGroup(Group* pGroup);
|
|
|
|
Group* GetTopGroup();
|
|
|
|
|
|
|
|
Group* m_pNext;
|
|
|
|
Group* m_pGroup;
|
|
|
|
|
2012-03-23 00:44:56 +01:00
|
|
|
void FileLoad(lcFile* file);
|
|
|
|
void FileSave(lcFile* file, Group* pGroups);
|
2011-09-07 23:06:51 +02:00
|
|
|
|
2013-08-09 06:57:18 +02:00
|
|
|
char m_strName[LC_MAX_GROUP_NAME + 1];
|
2011-09-07 23:06:51 +02:00
|
|
|
float m_fCenter[3];
|
|
|
|
};
|
|
|
|
|
2012-03-23 00:44:56 +01:00
|
|
|
#endif // _GROUP_H_
|