5 #ifndef PPAPI_CPP_NETWORK_LIST_H_
6 #define PPAPI_CPP_NETWORK_LIST_H_
13 #include "ppapi/c/ppb_network_list.h"
35 std::string
GetName(uint32_t index)
const;
39 PP_NetworkList_Type
GetType(uint32_t index)
const;
43 PP_NetworkList_State
GetState(uint32_t index)
const;
49 std::vector<NetAddress>* addresses)
const;
57 uint32_t
GetMTU(uint32_t index)
const;
62 #endif // PPAPI_CPP_NETWORK_LIST_H_
Definition: network_list.h:21
PP_NetworkList_Type GetType(uint32_t index) const
int32_t GetIpAddresses(uint32_t index, std::vector< NetAddress > *addresses) const
uint32_t GetMTU(uint32_t index) const
std::string GetDisplayName(uint32_t index) const
uint32_t GetCount() const
static bool IsAvailable()
Returns true if the required interface is available.
PassRef
Definition: pass_ref.h:17
std::string GetName(uint32_t index) const
PP_NetworkList_State GetState(uint32_t index) const
A reference counted module resource.
Definition: resource.h:20