Skip to content

Commit

Permalink
Change to @encode:bitmask
Browse files Browse the repository at this point in the history
  • Loading branch information
sebaszm committed Sep 25, 2024
1 parent c078afd commit 87ff639
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions interfaces/IBluetoothAudio.h
Original file line number Diff line number Diff line change
Expand Up @@ -157,12 +157,12 @@ namespace Exchange {
// @property
// @brief Audio codecs supported by the audio sink device
// @retval ERROR_ILLEGAL_STATE The sink device currently is not connected
virtual Core::hresult SupportedCodecs(audiocodec& codecs /* @out @bitmask */) const = 0;
virtual Core::hresult SupportedCodecs(audiocodec& codecs /* @out @encode:bitmask */) const = 0;

// @property
// @brief DRM schemes supported by the audio sink device
// @retval ERROR_ILLEGAL_STATE The sink device currently is not connected
virtual Core::hresult SupportedDRMs(drmscheme& drms /* @out @bitmask */) const = 0;
virtual Core::hresult SupportedDRMs(drmscheme& drms /* @out @encode:bitmask */) const = 0;

// @property
// @brief Properites of the currently used audio codec
Expand Down
10 changes: 5 additions & 5 deletions interfaces/IWifiControl.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ namespace Exchange {
WPA_WPA2 = 0x40 /* @text: WPA_WPA2 */,
UNKNOWN = 0x00
};

struct SecurityInfo {
enum Key : uint8_t {
PSK = 0x01 /* @text: PSK */,
Expand All @@ -52,18 +52,18 @@ namespace Exchange {
PSK_HASHED = 0x80 /* @text: PSK_HASHED */,
NONE = 0x00
};

Security method /* @brief Security method */;
Key keys /* @bitmask @brief Security Keys */;
};
Key keys /* @encode:bitmask @brief Security Keys */;
};
using ISecurityIterator = RPC::IIteratorType<SecurityInfo, ID_WIFICONTROL_SECURITY_INFO_ITERATOR>;

struct NetworkInfo {
string ssid /* @brief SSID of the network */;
uint64_t bssid /* @brief BSSID of the network */;
uint32_t frequency /* @brief Frequency used */;
int32_t signal /* @brief Signal strength */;
Security security /* @bitmask @brief Security method */;
Security security /* @encode:bitmask @brief Security method */;
};
using INetworkInfoIterator = RPC::IIteratorType<NetworkInfo, ID_WIFICONTROL_NETWORK_INFO_ITERATOR>;
using IStringIterator = RPC::IIteratorType<string, RPC::ID_STRINGITERATOR>;
Expand Down

0 comments on commit 87ff639

Please sign in to comment.