Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::platform::EnvironmentChange Struct Reference

Bitmask of fields that changed in the snapshot delivered to a listener. More...

#include <environment.hpp>

Public Member Functions

 EnvironmentChange () noexcept
bool any () const noexcept

Public Attributes

bool display: 1
bool safe_area: 1
bool keyboard: 1
bool orientation: 1
bool color_scheme: 1
bool lifecycle: 1
bool memory_pressure: 1

Detailed Description

Bitmask of fields that changed in the snapshot delivered to a listener.

Listeners should inspect this rather than diff the whole struct.

Constructor & Destructor Documentation

◆ EnvironmentChange()

pulp::platform::EnvironmentChange::EnvironmentChange ( )
inlinenoexcept

Member Function Documentation

◆ any()

bool pulp::platform::EnvironmentChange::any ( ) const
inlinenoexcept

Member Data Documentation

◆ color_scheme

bool pulp::platform::EnvironmentChange::color_scheme

◆ display

bool pulp::platform::EnvironmentChange::display

◆ keyboard

bool pulp::platform::EnvironmentChange::keyboard

◆ lifecycle

bool pulp::platform::EnvironmentChange::lifecycle

◆ memory_pressure

bool pulp::platform::EnvironmentChange::memory_pressure

◆ orientation

bool pulp::platform::EnvironmentChange::orientation

◆ safe_area

bool pulp::platform::EnvironmentChange::safe_area

The documentation for this struct was generated from the following file:
  • /home/runner/work/pulp/pulp/core/platform/include/pulp/platform/environment.hpp