blob: 57dbf15c4c84cb4043a5da94552a46da431124f4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#ifndef _SHAREDMINIBROWSER_H
#define _SHAREDMINIBROWSER_H
#include "../studio/skincb.h"
class SkinMonitor;
class SharedMiniBrowser {
public:
static void navigateUrl(const char *url);
static void shutdown();
static int m_inserted;
static SkinMonitor *m_monitor;
};
class SkinMonitor : public SkinCallbackI {
public:
SkinMonitor() {
WASABI_API_SYSCB->syscb_registerCallback(this);
}
virtual ~SkinMonitor() {
WASABI_API_SYSCB->syscb_deregisterCallback(this);
}
virtual int skincb_onReset() {
SharedMiniBrowser::m_inserted = 0;
return 0;
}
};
#endif // _SHAREDMINIBROWSER_H
|