fbkernel/fbkernel.h Source File
Go to the documentation of this file.
48 #define FBSDK_DLL K_DLLIMPORT
54 #ifdef FBSDKUseNamespace
60 #if defined(KARCH_ENV_WIN32)
61 typedef struct TOpaqueInstance* TInstance;
62 #elif defined(KARCH_ENV_MACOSX)
63 typedef struct TOpaqueWindowRef* TWindowRef;
69 class FBSDK_DLL FBKernel :
public FBComponent
80 virtual bool Init (
const char *pLibraryDirectory);
90 virtual bool Close ();
92 #if defined(FB_KERNEL) && !defined(K_NO_UI)
108 #if defined(KARCH_ENV_WIN32)
114 bool HookKeyboard(
bool pActive, TInstance pModuleHandle);
115 #elif defined(KARCH_ENV_MACOSX)
121 bool HookKeyboard(
bool pActive, TWindowRef pWindowRef);
129 void HandleRawKeyboard(
int pHardwareKey,
int pModifier,
bool pKeyDown );
135 static FBKernel& TheOne();
138 #ifdef FBSDKUseNamespace
#define __FBClassDeclare(Name, Parent)
For internal use only.
FBDeviceKeyboardKey
Keyboard keys (for input).
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
#define FBSDKNamespace
FBSDKNamespace define.