Phosphor
Qt6 / Wayland library suite for window-management tools
 
Loading...
Searching...
No Matches
PhosphorZones::LayoutFactory Class Reference

#include <phosphor-zones/include/PhosphorZones/LayoutFactory.h>

Public Types

using CreatorFunc = std::function< Layout *(LayoutRegistry *)>
 

Static Public Member Functions

static Layoutcreate (const QString &type, LayoutRegistry *manager)
 
static void registerType (const QString &type, CreatorFunc creator)
 

Member Typedef Documentation

◆ CreatorFunc

Member Function Documentation

◆ create()

static Layout * PhosphorZones::LayoutFactory::create ( const QString &  type,
LayoutRegistry manager 
)
static

◆ registerType()

static void PhosphorZones::LayoutFactory::registerType ( const QString &  type,
CreatorFunc  creator 
)
static

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