diff options
Diffstat (limited to 'src/tooltip.h')
-rw-r--r-- | src/tooltip.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tooltip.h b/src/tooltip.h index 3517b5d..acdacb4 100644 --- a/src/tooltip.h +++ b/src/tooltip.h @@ -24,16 +24,17 @@ class CodeOutputInterface; class TooltipManager { public: - TooltipManager(); + static TooltipManager &instance(); ~TooltipManager(); /** add a tooltip for a given symbol definition */ - void addTooltip(const Definition *d); + void addTooltip(CodeOutputInterface &ol,const Definition *d); /** write the list of all collected tooltip to the given outputs */ void writeTooltips(CodeOutputInterface &ol); private: + TooltipManager(); class Private; std::unique_ptr<Private> p; }; |