bluetooth: Use enum to represent form factors
authorMikel Astiz <mikel.astiz@bmw-carit.de>
Thu, 7 Mar 2013 10:32:21 +0000 (11:32 +0100)
committerDavid Henningsson <david.henningsson@canonical.com>
Fri, 8 Mar 2013 17:22:11 +0000 (18:22 +0100)
commit11d7a2d1978fcd259402761af5f7dcaf064c98c1
treee159ade1198351ee38cef0678ba9a1688b69a93a
parent278ceb453f5371521ed204544f846ee26c919edc
bluetooth: Use enum to represent form factors

Avoid using strings only to represent form factors in the bluetooth-util
API and instead use a new dedicated enum type: pa_bt_form_factor_t.
src/modules/bluetooth/bluetooth-util.c
src/modules/bluetooth/bluetooth-util.h
src/modules/bluetooth/module-bluetooth-device.c