Unity Scopes API
|
Base class for all implementations of filters. More...
#include <unity/scopes/FilterBase.h>
Public Types | |
enum | DisplayHints { Default = 0, Primary = 1 } |
Display hints for the Shell UI. More... | |
Public Member Functions | |
void | set_display_hints (int hints) |
Sets display hints for the Shell UI. More... | |
int | display_hints () const |
Get display hints of this filter. More... | |
std::string | id () const |
Get the identifier of this filter. More... | |
std::string | filter_type () const |
Get the type name of this filter. More... | |
Base class for all implementations of filters.
All implementations of FilterBase define the "look" of a filter in the UI and do not hold any state information. The actual state of a filters is kept by a FilterState object.
int unity::scopes::FilterBase::display_hints | ( | ) | const |
Get display hints of this filter.
std::string unity::scopes::FilterBase::filter_type | ( | ) | const |
Get the type name of this filter.
std::string unity::scopes::FilterBase::id | ( | ) | const |
Get the identifier of this filter.
void unity::scopes::FilterBase::set_display_hints | ( | int | hints | ) |
Sets display hints for the Shell UI.
hints | A combination of DisplayHints for this filter. |