1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +02:00

Refactored always-include

This commit is contained in:
Brian Fiete 2021-01-30 08:08:30 -08:00
parent c0ae4bb8f7
commit d11348a4e4
7 changed files with 276 additions and 174 deletions

View file

@ -1571,21 +1571,27 @@ enum BfAttributeTargets : int32
BfAttributeTargets_All = 0x3FFFFF
};
enum BfAttributeFlags : int8
{
BfAttributeFlag_None,
BfAttributeFlag_DisallowAllowMultiple = 1,
BfAttributeFlag_NotInherited = 2,
BfAttributeFlag_ReflectAttribute = 4,
BfAttributeFlag_AlwaysIncludeTarget = 8
};
class BfAttributeData
{
public:
BfAttributeTargets mAttributeTargets;
BfAlwaysIncludeFlags mAlwaysIncludeUser;
bool mInherited;
bool mAllowMultiple;
BfAttributeFlags mFlags;
public:
BfAttributeData()
{
mAttributeTargets = BfAttributeTargets_All;
mAlwaysIncludeUser = BfAlwaysIncludeFlag_None;
mInherited = true;
mAllowMultiple = false;
mFlags = BfAttributeFlag_None;
}
};