FBDevice layout file. More...
#include
<kaydaradef.h>
#include <fbsdk/fbcore.h>
#include <fbcontrols/fbcontrols.h>
Go to the source code of
this file.
Detailed Description
FBDevice layout file.
Definition in file fbdevicelayout.h.
Define Documentation
#define
FBSDK_DLL K_DLLIMPORT |
Be sure that FBSDK_DLL is defined only once...
Definition at line 48 of file fbdevicelayout.h.
#define FBRegisterDeviceLayout |
( |
|
ClassName, |
|
|
|
UniqueNameStr, |
|
|
|
IconFilename |
|
) |
|
|
Value:
HIObject RegisterDeviceLayout##ClassName( HIObject ,char * ,void *pData) \
{\
ClassName *Class = new ClassName( (HFBDevice)FBGetFBObject((HIObject)pData) ); \
Class->mAllocated = true; \
if (Class->FBCreate()) { \
return Class->GetHIObject(); \
} else { \
delete Class; \
return NULL; \
} \
} \
FBLibraryModule( ClassName ) \
{ \
FBRegisterObject( ClassName,"UI_Associated_ClassName",UniqueNameStr,UniqueNameStr" Device Layout",RegisterDeviceLayout##ClassName, true, IconFilename );\
}
Register a device layout class.
- Parameters:
-
ClassName |
Name of device layout class. |
UniqueNameStr |
Unique name of class. |
IconFilename |
Filename of associated icon. |
Definition at line 71 of file fbdevicelayout.h.
#define FBDeviceLayoutDeclare |
( |
|
ClassName, |
|
|
|
Parent |
|
) |
|
|
Value:
Device layout declaration.
- Parameters:
-
ClassName |
Name of device layout class. |
Parent |
Parent of device layout class. |
Definition at line 92 of file fbdevicelayout.h.
#define FBDeviceLayoutImplementation |
( |
|
ThisComponent |
) |
FBClassImplementation( ThisComponent ) |
Device layout implementation.
- Parameters:
-
ThisComponent |
Name of device layout class to implement. |
Definition at line 101 of file fbdevicelayout.h.
#define
FBTRACKER_NO_LENSFILE "-- no lens file --" |
Function Documentation