/* * * IRBOX, an Ivy driver for infra-red remote controls * * Copyright 1998-1999 * Centre d'Etudes de la Navigation Aerienne * * Tables for decoding events * * $Id$ * */ #ifndef irtable_h_ #define irtable_h_ typedef struct { const char* name; const char* type; } IrTable; extern IrTable* IrTableReadFile (const char*); extern IrTable* IrCreateTable (); extern void IrTableName (IrTable*, const char*); extern void IrTableType (IrTable*, const char*); extern void IrTableAddBrand (IrTable*, const char*); extern void IrTableAddKey (IrTable*, const char*, int, int, int, int, int, int); extern int IrTableTranslateCode (const unsigned char*, IrTable**, const char**); #endif /* irtable_h_ */