Phosphor
Qt6 / Wayland library suite for window-management tools
Loading...
Searching...
No Matches
PhosphorRegistry Namespace Reference

Classes

class  IBarWidgetFactory
class  IBarWidgetPlugin
 The root object of a bar-widget plugin. More...
class  IControlCenterTileFactory
class  IDesktopWidgetFactory
class  IFactoryBase
struct  LauncherResult
class  ILauncherProvider
class  ILauncherProviderFactory
class  IOSDFactory
class  MetadataPackLoader
class  PathKeyedOverrides
 A baseline payload plus keyed overrides, in insertion order. More...
struct  PluginSeam
 One kind of plugin the suite loads, such as bar widgets. More...
struct  PluginSearchPath
 A directory to search and the origin its plugins get. More...
 A plugin known from its metadata. Building one never loads the library. More...
struct  RefusedPlugin
 A plugin file the catalog found and will not offer, with the reason. More...
class  PluginCatalog
 Finds the plugins of one seam, reads their metadata without loading them, and loads one only when asked. More...
class  PluginLoader
 Loads every bar-widget plugin into a Registry<IBarWidgetFactory> and keeps it in step with the plugins on disk. More...
class  Registry
class  RegistryNotifier

Enumerations

enum class  PluginOrigin : quint8 { Development , User , System }
 Where a plugin was found. Earlier origins override later ones. More...
enum class  DuplicatePolicy { Reject , Replace }

Enumeration Type Documentation

◆ DuplicatePolicy

Enumerator
Reject 

Keep the existing entry, log + return false (default).

Replace 

Overwrite; fire factoryUnregistered(old) + factoryRegistered(new).

◆ PluginOrigin

enum class PhosphorRegistry::PluginOrigin : quint8
strong

Where a plugin was found. Earlier origins override later ones.

Enumerator
Development 

A development root: a directory from PHOSPHOR_WORKS_PLUGIN_PATH, or one a host passes to setSearchPaths, for running plugins straight from a build tree.

User 

$XDG_DATA_HOME/phosphor-works/plugins/<seam>.

System 

A Qt plugin directory plus /phosphor-works/<seam>, where packages install.