|
Packit Service |
50c9f2 |
/******************************************************************************
|
|
Packit Service |
50c9f2 |
*
|
|
Packit Service |
50c9f2 |
* Copyright (C) 1997-2015 by Dimitri van Heesch.
|
|
Packit Service |
50c9f2 |
*
|
|
Packit Service |
50c9f2 |
* Permission to use, copy, modify, and distribute this software and its
|
|
Packit Service |
50c9f2 |
* documentation under the terms of the GNU General Public License is hereby
|
|
Packit Service |
50c9f2 |
* granted. No representations are made about the suitability of this software
|
|
Packit Service |
50c9f2 |
* for any purpose. It is provided "as is" without express or implied warranty.
|
|
Packit Service |
50c9f2 |
* See the GNU General Public License for more details.
|
|
Packit Service |
50c9f2 |
*
|
|
Packit Service |
50c9f2 |
* Documents produced by Doxygen are derivative works derived from the
|
|
Packit Service |
50c9f2 |
* input used in their production; they are not affected by this license.
|
|
Packit Service |
50c9f2 |
*
|
|
Packit Service |
50c9f2 |
*/
|
|
Packit Service |
50c9f2 |
#ifndef TOOLTIP_H
|
|
Packit Service |
50c9f2 |
#define TOOLTIP_H
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
class Definition;
|
|
Packit Service |
50c9f2 |
class CodeOutputInterface;
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
class TooltipManager
|
|
Packit Service |
50c9f2 |
{
|
|
Packit Service |
50c9f2 |
public:
|
|
Packit Service |
50c9f2 |
static TooltipManager *instance();
|
|
Packit Service |
50c9f2 |
void clearTooltips();
|
|
Packit Service |
50c9f2 |
void addTooltip(Definition *d);
|
|
Packit Service |
50c9f2 |
void writeTooltips(CodeOutputInterface &ol);
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
private:
|
|
Packit Service |
50c9f2 |
class Private;
|
|
Packit Service |
50c9f2 |
Private *p;
|
|
Packit Service |
50c9f2 |
TooltipManager();
|
|
Packit Service |
50c9f2 |
~TooltipManager();
|
|
Packit Service |
50c9f2 |
static TooltipManager *s_theInstance;
|
|
Packit Service |
50c9f2 |
};
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
#endif
|