ultimatepp/uppdev/CoreTopics/Callback.cpp
cxl 3cd394812c Merge continued
git-svn-id: svn://ultimatepp.org/upp/trunk@10263 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-10-04 08:34:39 +00:00

19 lines
307 B
C++

#include "Core.h"
NAMESPACE_UPP
//#BLITZ_APPROVE
#define CPP_PART__
#include "Cbgen.h"
void Callback::Execute() const
{
if(action) action->Execute();
}
bool Gate::Execute() const
{
return (void *)action == (void *)1 ? true : action ? action->Execute() : false;
}
END_UPP_NAMESPACE