diff options
author | PaulK <contact@paulk.fr> | 2012-02-22 16:49:24 +0100 |
---|---|---|
committer | PaulK <contact@paulk.fr> | 2012-02-22 16:49:24 +0100 |
commit | 58559e4461a2a85f9f4af78224c3e45f3b252d16 (patch) | |
tree | 4ba31da09cf9de2c7851e7b0bedf907f4ac78974 /include/device | |
parent | 9ab226ac80e3f21952096dbbcd624931f3df19df (diff) | |
download | external_libsamsung-ipc-58559e4461a2a85f9f4af78224c3e45f3b252d16.zip external_libsamsung-ipc-58559e4461a2a85f9f4af78224c3e45f3b252d16.tar.gz external_libsamsung-ipc-58559e4461a2a85f9f4af78224c3e45f3b252d16.tar.bz2 |
Correct disp icon info structure for IPC-V4 devices
Diffstat (limited to 'include/device')
-rw-r--r-- | include/device/h1/disp.h | 30 | ||||
-rw-r--r-- | include/device/ipc-v4/disp.h | 31 |
2 files changed, 61 insertions, 0 deletions
diff --git a/include/device/h1/disp.h b/include/device/h1/disp.h new file mode 100644 index 0000000..81129c2 --- /dev/null +++ b/include/device/h1/disp.h @@ -0,0 +1,30 @@ +/** + * This file is part of libsamsung-ipc. + * + * Copyright (C) 2010-2011 Joerie de Gram <j.de.gram@gmail.com> + * + * libsamsung-ipc is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * libsamsung-ipc is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with libsamsung-ipc. If not, see <http://www.gnu.org/licenses/>. + * + */ + +#ifndef __DEVICE_H1_DISP_H__ +#define __DEVICE_H1_DISP_H__ + +struct ipc_disp_icon_info { + unsigned char unk, rssi, battery, act, reg; +} __attribute__((__packed__)); + +#endif + +// vim:ts=4:sw=4:expandtab diff --git a/include/device/ipc-v4/disp.h b/include/device/ipc-v4/disp.h new file mode 100644 index 0000000..8f0e64e --- /dev/null +++ b/include/device/ipc-v4/disp.h @@ -0,0 +1,31 @@ +/** + * This file is part of libsamsung-ipc. + * + * Copyright (C) 2010-2011 Joerie de Gram <j.de.gram@gmail.com> + * Copyright (C) 2012 Paul Kocialkowski <contact@paulk.fr> + * + * libsamsung-ipc is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * libsamsung-ipc is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with libsamsung-ipc. If not, see <http://www.gnu.org/licenses/>. + * + */ + +#ifndef __DEVICE_IPC_V4_DISP_H__ +#define __DEVICE_IPC_V4_DISP_H__ + +struct ipc_disp_icon_info { + unsigned char rssi, battery, act, reg; +} __attribute__((__packed__)); + +#endif + +// vim:ts=4:sw=4:expandtab |