X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fnet_connection_private.h;h=0a389c45387ea96b50c55e18a550f105dfa0ad66;hb=c5259f5687a76e563575fc7ecdc5f602830ec418;hp=ab00c7dc41d462f216a3da1b08683dad3fa4df40;hpb=980cf9a8a89c80b610d012e3afb2b83ed899fd29;p=platform%2Fcore%2Fapi%2Fconnection.git diff --git a/include/net_connection_private.h b/include/net_connection_private.h index ab00c7d..0a389c4 100755 --- a/include/net_connection_private.h +++ b/include/net_connection_private.h @@ -49,12 +49,25 @@ typedef enum CONNECTION_CELLULAR_SUBSCRIBER_2 = 0x01, } connection_cellular_subscriber_id_e; +typedef enum +{ + CONNECTION_SUPPORTED_FEATURE_TELEPHONY, + CONNECTION_SUPPORTED_FEATURE_WIFI, + CONNECTION_SUPPORTED_FEATURE_TETHERING_BLUETOOTH, + CONNECTION_SUPPORTED_FEATURE_ETHERNET, + CONNECTION_SUPPORTED_FEATURE_MAX, +} connection_supported_feature_e; + +#if !defined TIZEN_TV #define CHECK_FEATURE_SUPPORTED(...) \ do { \ int rv = _connection_check_feature_supported(__VA_ARGS__, NULL); \ if( rv != CONNECTION_ERROR_NONE ) \ return rv; \ } while(0) +#else +#define CHECK_FEATURE_SUPPORTED(...) +#endif #define CONNECTION_LOG(log_level, format, args...) \ do { \