50 lines
1.1 KiB
C++
50 lines
1.1 KiB
C++
/* This file was generated by Maki Compiler, do not edit manually */
|
|
|
|
#ifndef __C_BROWSER_H
|
|
#define __C_BROWSER_H
|
|
|
|
#include "c_guiobject.h"
|
|
|
|
#define C_BROWSER_PARENT C_GuiObject
|
|
|
|
class C_Browser : public C_BROWSER_PARENT {
|
|
public:
|
|
|
|
C_Browser(ScriptObject *object);
|
|
C_Browser();
|
|
virtual ~C_Browser();
|
|
|
|
virtual void C_hook(ScriptObject *o);
|
|
|
|
ScriptObject *getScriptObject();
|
|
|
|
virtual void navigateUrl(const wchar_t *url);
|
|
virtual void back();
|
|
virtual void forward();
|
|
virtual void stop();
|
|
virtual void refresh();
|
|
virtual void home();
|
|
virtual void setTargetName(const wchar_t *targetname);
|
|
virtual int onBeforeNavigate(const wchar_t *url, int flags, const wchar_t *targetframename);
|
|
virtual void onDocumentComplete(const wchar_t *url);
|
|
virtual void onMediaLink(const wchar_t *url);
|
|
|
|
private:
|
|
|
|
ScriptObject *obj;
|
|
int inited;
|
|
static int loaded;
|
|
static int navigateurl_id;
|
|
static int back_id;
|
|
static int forward_id;
|
|
static int stop_id;
|
|
static int refresh_id;
|
|
static int home_id;
|
|
static int settargetname_id;
|
|
static int onbeforenavigate_id;
|
|
static int ondocumentcomplete_id;
|
|
static int onmedialink_id;
|
|
};
|
|
|
|
#endif
|