michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef _CC_DEVICE_FEATURE_H_ michael@0: #define _CC_DEVICE_FEATURE_H_ michael@0: michael@0: #include "cc_constants.h" michael@0: michael@0: michael@0: /** michael@0: * Enable or disable video capability of the device. michael@0: * @param enable - a flag to indicate that application wants to enable of michael@0: * disable video capability of the device. michael@0: * @return void michael@0: */ michael@0: void CC_DeviceFeature_enableVideo(cc_boolean enable); michael@0: michael@0: /** michael@0: * Indicate native video support for the device michael@0: * @param enable - a flag to indicate that device supports native video michael@0: * @return void michael@0: */ michael@0: void CC_DeviceFeature_supportsVideo(cc_boolean enable); michael@0: michael@0: /** michael@0: * Enable or disable camera capability of the device. michael@0: * @param enable - a flag to indicate that application wants to enable of michael@0: * disable camera capability of the device. michael@0: * @return void michael@0: */ michael@0: void CC_DeviceFeature_enableCamera(cc_boolean enable); michael@0: michael@0: michael@0: #endif /* _CC_DEVICE_FEATURE_H_ */