![]() |
![]() |
![]() |
Buzztard Bt-Ic Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#include <libbtic/ic.h> GOptionGroup * btic_init_get_option_group (void); gboolean btic_init_check (int *argc, char **argv[], GError **err); void btic_init (int *argc, char **argv[]); #define BTIC_MAJOR_VERSION #define BTIC_MINOR_VERSION #define BTIC_MICRO_VERSION extern const unsigned int btic_major_version; extern const unsigned int btic_minor_version; extern const unsigned int btic_micro_version;
The library offers an abstraction of hardware controllers that can be bound to ui controls.
GOptionGroup * btic_init_get_option_group (void);
Returns a GOptionGroup with libbtic's argument specifications. The group is set up to use standard GOption callbacks, so when using this group in combination with GOption parsing methods, all argument parsing and initialization is automated.
This function is useful if you want to integrate libbtic with other
libraries that use GOption (see g_option_context_add_group()
).
Returns : |
a pointer to a GOption group. Should be dereferenced after use. |
gboolean btic_init_check (int *argc, char **argv[], GError **err);
Initializes the Buzztard interaction controller library.
This function will return FALSE
if Buzztard interaction controller could not
be initialized for some reason. If you want your program to fail fatally,
use btic_init()
instead.
void btic_init (int *argc, char **argv[]);
Initializes the Buzztard Interaction Controller library.
This function will terminate your program if it was unable to initialize
the core for some reason. If you want your program to fall back,
use btic_init_check()
instead.
WARNING: This function does not work in the same way as corresponding
functions in other glib-style libraries, such as gtk_init()
. In
particular, unknown command line options cause this function to
abort program execution.
|
pointer to application's argc |
|
pointer to application's argv |
#define BTIC_MAJOR_VERSION 0
buzztard version stamp, major part; determined from configure.ac
#define BTIC_MINOR_VERSION 5
buzztard version stamp, minor part; determined from configure.ac
#define BTIC_MICRO_VERSION 0
buzztard version stamp, micro part; determined from configure.ac
extern const unsigned int btic_major_version;
buzztard version stamp, major part; determined from BTIC_MAJOR_VERSION
extern const unsigned int btic_minor_version;
buzztard version stamp, minor part; determined from BTIC_MINOR_VERSION
extern const unsigned int btic_micro_version;
buzztard version stamp, micro part; determined from BTIC_MICRO_VERSION