Albert
Loading...
Searching...
No Matches
albert::Extension Class Referenceabstract

#include <albert/extension.h>

Inheritance diagram for albert::Extension:
[legend]

Detailed Description

Abstract extension class.

Inherited by classes that want to join the extensions pool.

See also
ExtensionRegistry

Public Member Functions

virtual QString id () const =0
 The identifier of this extension.
 
virtual QString name () const =0
 Pretty, human readable name.
 
virtual QString description () const =0
 Brief description of this extension.
 

Protected Member Functions

virtual ~Extension ()
 

Constructor & Destructor Documentation

◆ ~Extension()

virtual albert::Extension::~Extension ( )
protectedvirtual

Member Function Documentation

◆ description()

virtual QString albert::Extension::description ( ) const
pure virtual

Brief description of this extension.

Implemented in albert::ExtensionPlugin.

◆ id()

virtual QString albert::Extension::id ( ) const
pure virtual

The identifier of this extension.

Note
To avoid naming conflicts use the namespace of your plugin, e.g. files (root extension), files.rootbrowser, files.homebrowser, …

Implemented in albert::ExtensionPlugin.

◆ name()

virtual QString albert::Extension::name ( ) const
pure virtual

Pretty, human readable name.

Implemented in albert::ExtensionPlugin.


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