diff options
Diffstat (limited to 'include/disp.h')
-rw-r--r-- | include/disp.h | 34 |
1 files changed, 23 insertions, 11 deletions
diff --git a/include/disp.h b/include/disp.h index 09c60c5..089031d 100644 --- a/include/disp.h +++ b/include/disp.h @@ -1,6 +1,7 @@ -/** +/* * This file is part of libsamsung-ipc. * + * Copyright (C) 2011-2013 Paul Kocialkowski <contact@paulk.fr> * Copyright (C) 2010-2011 Joerie de Gram <j.de.gram@gmail.com> * * libsamsung-ipc is free software: you can redistribute it and/or modify @@ -18,18 +19,29 @@ * */ -#ifndef __DISP_H__ -#define __DISP_H__ +#include <samsung-ipc.h> -#if defined(DEVICE_IPC_V4) -#include "device/ipc-v4/disp.h" -#elif defined(DEVICE_H1) -#include "device/h1/disp.h" -#endif +#ifndef __SAMSUNG_IPC_DISP_H__ +#define __SAMSUNG_IPC_DISP_H__ + +/* + * Types + */ + +#define IPC_DISP_ICON_INFO 0x0701 +#define IPC_DISP_HOMEZONE_INFO 0x0702 +#define IPC_DISP_RSSI_INFO 0x0706 -#define IPC_DISP_ICON_INFO 0x0701 -#define IPC_DISP_HOMEZONE_INFO 0x0702 -#define IPC_DISP_RSSI_INFO 0x0706 +/* + * Structures + */ + +struct ipc_disp_icon_info { + unsigned char rssi; + unsigned char bars; + unsigned char act; + unsigned char reg; +} __attribute__((__packed__)); struct ipc_disp_rssi_info { unsigned char rssi; |