libvirtualhid 15
Cross-platform C++ library for virtual HID devices.
lvh::MouseCreationResult Struct Reference

Result returned by mouse creation. More...

#include <src/include/libvirtualhid/runtime.hpp>

Collaboration diagram for lvh::MouseCreationResult:
[legend]

Public Member Functions

 operator bool () const
 Check whether creation succeeded and produced a handle.
 

Public Attributes

std::unique_ptr< Mousemouse
 Created mouse handle when creation succeeds.
 
OperationStatus status
 Creation status.
 

Detailed Description

Result returned by mouse creation.

Member Function Documentation

◆ operator bool()

lvh::MouseCreationResult::operator bool ( ) const
inlineexplicit

Check whether creation succeeded and produced a handle.

Returns
true when creation succeeded.

The documentation for this struct was generated from the following file: