Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change to @encode:bitmask #381

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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