Initial community commit
This commit is contained in:
parent
537bcbc862
commit
fc06254474
16440 changed files with 4239995 additions and 2 deletions
30
Src/Wasabi/api/service/svcs/svc_tooltips.h
Normal file
30
Src/Wasabi/api/service/svcs/svc_tooltips.h
Normal file
|
@ -0,0 +1,30 @@
|
|||
#ifndef _SVC_TOOLTIPS_H
|
||||
#define _SVC_TOOLTIPS_H
|
||||
|
||||
#include <bfc/dispatch.h>
|
||||
#include <api/service/services.h>
|
||||
|
||||
class NOVTABLE svc_toolTipsRenderer : public Dispatchable {
|
||||
public:
|
||||
static FOURCC getServiceType() { return WaSvc::TOOLTIPSRENDERER; }
|
||||
|
||||
int spawnTooltip(const wchar_t *text);
|
||||
|
||||
enum {
|
||||
SPAWNTOOLTIP =10,
|
||||
};
|
||||
};
|
||||
|
||||
inline int svc_toolTipsRenderer::spawnTooltip(const wchar_t *text) {
|
||||
return _call(SPAWNTOOLTIP, 0, text);
|
||||
}
|
||||
|
||||
class NOVTABLE svc_toolTipsRendererI : public svc_toolTipsRenderer {
|
||||
public:
|
||||
virtual int spawnTooltip(const wchar_t *text)=0;
|
||||
|
||||
protected:
|
||||
RECVS_DISPATCH;
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue