[P2PCommonFramework] Added concept of prd plugin for OEM to add product specific... 79/83879/10
authorNishant Chaprana <n.chaprana@samsung.com>
Wed, 10 Aug 2016 07:40:19 +0000 (13:10 +0530)
committerNishant Chaprana <n.chaprana@samsung.com>
Mon, 22 Aug 2016 10:46:34 +0000 (16:16 +0530)
commita154b1210f0e3403ebba46d150ed2915a0aab172
tree63711036f6db2ca01b3fd54c4864730f246a1725
parent5ffd1ac1464770965811c13bc4b2683fb4807ed7
[P2PCommonFramework] Added concept of prd plugin for OEM to add product specific code.

Description: This patch adds concept of prd plugin, so that any OEM can add
product specific code and merge profile specific code easily.
1. oem/wifi-direct-prd.c :-
This file will have product specific code for manager layer.
This will override and define new event handlers.
2. prd-plugin :-
This will have product specific plugin code(event handlers and methods).
This will override profile methods and define new prd specific methods.

Change-Id: Iea5d5c6a888521d516a26d718a7a9845e269c6e6
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
27 files changed:
CMakeLists.txt
include/wifi-direct-dbus.h
include/wifi-direct-event.h
include/wifi-direct-manager.h
oem/wifi-direct-oem.c
oem/wifi-direct-oem.h
packaging/wifi-direct-manager.spec
plugin/wpasupplicant/ctrl_iface_dbus/include/wfd-plugin-wpasupplicant.h
plugin/wpasupplicant/ctrl_iface_dbus/wfd-plugin-wpasupplicant.c
plugin/wpasupplicant/ctrl_iface_sock/include/wfd-plugin-wpasupplicant.h
plugin/wpasupplicant/ctrl_iface_sock/wfd-plugin-wpasupplicant.c
plugin/wpasupplicant/emul/include/wfd-plugin-wpasupplicant.h
plugin/wpasupplicant/emul/wfd-plugin-wpasupplicant-emul.c
prd/include/wifi-direct-prd.h [new file with mode: 0644]
prd/plugin/wpasupplicant/ctrl_iface_dbus/CMakeLists.txt [new file with mode: 0644]
prd/plugin/wpasupplicant/ctrl_iface_dbus/include/wfd-prd-plugin-log.h [new file with mode: 0644]
prd/plugin/wpasupplicant/ctrl_iface_dbus/include/wfd-prd-plugin-wpasupplicant.h [new file with mode: 0644]
prd/plugin/wpasupplicant/ctrl_iface_dbus/wfd-prd-plugin-wpasupplicant.c [new file with mode: 0644]
prd/plugin/wpasupplicant/ctrl_iface_sock/CMakeLists.txt [new file with mode: 0644]
prd/plugin/wpasupplicant/ctrl_iface_sock/include/wfd-prd-plugin-log.h [new file with mode: 0644]
prd/plugin/wpasupplicant/ctrl_iface_sock/include/wfd-prd-plugin-wpasupplicant.h [new file with mode: 0644]
prd/plugin/wpasupplicant/ctrl_iface_sock/wfd-prd-plugin-wpasupplicant.c [new file with mode: 0644]
prd/src/wifi-direct-prd.c [new file with mode: 0644]
src/wifi-direct-dbus.c
src/wifi-direct-event.c
src/wifi-direct-manager.c
wifi-direct-prd-plugin-wpasupplicant.manifest [new file with mode: 0644]