Mercurial > projects > qtd
diff generator/typesystem.cpp @ 304:04b52676b45f signals
fixed compiling all packages
author | eldar_ins@eldar-laptop |
---|---|
date | Sun, 13 Dec 2009 06:24:55 +0500 |
parents | bc783e20da2b |
children | 4920ef9206fe |
line wrap: on
line diff
--- a/generator/typesystem.cpp Sat Dec 12 16:01:55 2009 +0500 +++ b/generator/typesystem.cpp Sun Dec 13 06:24:55 2009 +0500 @@ -96,6 +96,7 @@ // qtd stuff AddClass = 0x1100, PackageDepend = 0x1200, + PrivateCopyConstructor = 0x1300, // Code snip tags (0x1000, 0x2000, ... , 0xf000) InjectCode = 0x1000, @@ -163,6 +164,7 @@ tagNames["rename"] = StackElement::Rename; tagNames["typesystem"] = StackElement::Root; tagNames["custom-constructor"] = StackElement::CustomMetaConstructor; + tagNames["private-copy-constructor"] = StackElement::PrivateCopyConstructor; tagNames["custom-destructor"] = StackElement::CustomMetaDestructor; tagNames["argument-map"] = StackElement::ArgumentMap; tagNames["suppress-warning"] = StackElement::SuppressedWarning; @@ -299,6 +301,11 @@ delete current->value.customFunction; } break; + case StackElement::PrivateCopyConstructor: + { + current->entry->setHasPrivateCopyConstructor(true); + } + break; case StackElement::CustomMetaDestructor: { current->entry->setCustomDestructor(*current->value.customFunction);