mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 15:02:43 +02:00
Origin commit data
------------------
Branch: master
Commit: 4e13bfb4f0
Author: martii <m4rtii@gmx.de>
Date: 2013-02-22 (Fri, 22 Feb 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
46 lines
782 B
C
46 lines
782 B
C
/*
|
|
* determine the capabilities of the hardware.
|
|
* part of libstb-hal
|
|
*
|
|
* (C) 2010-2012 Stefan Seyfried
|
|
*
|
|
* License: GPL v2 or later
|
|
*/
|
|
#ifndef __HARDWARE_CAPS_H__
|
|
#define __HARDWARE_CAPS_H__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
typedef enum
|
|
{
|
|
HW_DISPLAY_NONE,
|
|
HW_DISPLAY_LED_NUM, /* simple 7 segment LED display */
|
|
HW_DISPLAY_LINE_TEXT, /* 1 line text display */
|
|
HW_DISPLAY_GFX
|
|
} display_type_t;
|
|
|
|
|
|
typedef struct hw_caps
|
|
{
|
|
int has_fan;
|
|
int has_HDMI;
|
|
int has_SCART;
|
|
int has_SCART_input;
|
|
int has_YUV_cinch;
|
|
int can_shutdown;
|
|
int can_cec;
|
|
display_type_t display_type;
|
|
int display_xres; /* x resolution or chars per line */
|
|
int display_yres;
|
|
char boxvendor[64];
|
|
char boxname[64];
|
|
} hw_caps_t;
|
|
|
|
hw_caps_t *get_hwcaps(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|