Skip to content

Commit

Permalink
Add getter for plugin dependecies
Browse files Browse the repository at this point in the history
  • Loading branch information
ManuelSchneid3r committed Aug 4, 2024
1 parent 2ad2375 commit eb56a8b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/albert/plugindependency.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ class ALBERT_EXPORT Dependency
inline operator bool() const { return dependency != nullptr; }
const T* operator->() const { return dependency; }
T* operator->() { return dependency; }
const T* get() const { return dependency; }
T* get() { return dependency; }

protected:

Expand Down

0 comments on commit eb56a8b

Please sign in to comment.