1#ifndef __FBCONSTRAINTLAYOUT_H__
2#define __FBCONSTRAINTLAYOUT_H__
43#include <kaydaradef.h>
48 #define FBSDK_DLL K_DLLIMPORT
58#ifdef FBSDKUseNamespace
59 namespace FBSDKNamespace {
67#define FBRegisterConstraintLayout( ClassName,UniqueNameStr, IconFilename ) \
68 HIObject RegisterConstraintLayout##ClassName( HIObject ,const char * ,void *pData) \
70 ClassName *Class = new ClassName( (FBConstraint*)FBGetFBObject((HIObject)pData) ); \
71 Class->mAllocated = true; \
72 if (Class->FBCreate()) { \
73 return Class->GetHIObject(); \
80 FBLibraryModule( ClassName ) \
82 FBRegisterObject( ClassName,"UI_Associated_ClassName",UniqueNameStr,UniqueNameStr" Constraint Layout",RegisterConstraintLayout##ClassName, true, IconFilename ); \
89#define FBConstraintLayoutDeclare( ClassName,Parent ) \
90 FBClassDeclare( ClassName,Parent ); \
92 ClassName(FBConstraint* pConstraint):Parent(pConstraint) { FBClassInit; } \
98#define FBConstraintLayoutImplementation( ThisComponent ) \
99 FBClassImplementation( ThisComponent )
120#ifdef FBSDKUseNamespace
Base class for constraints.
FBPropertyConstraint Constraint
Property: Constraint.
FBConstraintLayout(FBConstraint *pConstraint=NULL)
Constructor.
Used to build the user interface.
#define __FBClassDeclare(Name, Parent)
For internal use only.
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
Contains the user interface components for the SDK.
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.