Webbrowser plugin: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
Line 45: Line 45:


  0: 2 Parameter:
  0: 2 Parameter:
0x0000005A ("Z")


=Initialization=
=Initialization=

Revision as of 00:17, 21 October 2020


4 Identifiers:

  • 1
  • 0x41435430 ("ACT0")
  • 0x4D4F4430 ("MOD0")
  • 0x0000005A ("Z")

1 Interface

contains 11 subs:

0: PluginWakeup - 1 Parameter: int (=usually 0)
1: PluginWakeupWithUrl - 1 Parameter: char * url
2: PluginWakeupWithUrlAndRestriction - 2 Parameter: char * url, int value (dis-/enable bookmark/history/setting)
3: 0 Parameter:  (browser shutdown process-destroys Full Browser)
4: Set Motion Type - 1 Parameter: int motion_type
5: GetUrl? - 1 Parameter: char * 
6: PluginWakeupWithUrlString - 1 Parameter: struct { , char * url, ... }
7: PluginWakeupWithSearchString - 1 Parameter: struct { , char * str, ... }
8: PluginWakeupWithUrlAndExitHandler - 2 Parameter: char * url, void * callback
9: 2 Parameter: char *, char *
10: UpdatePointerDisplayPos?, 3 Parameter: int pointerX?, int pointerY?, int pointerMode?

ACT0 Interface

contains 1 sub:

0: PluginWakeupWithUrl, 1 Parameter: char * url

MOD0 Interface

contains 5 subs:

0: - "Activate Streaming Mode" / activate viewcontroller
1: - Browser Notification "No Controller" / "No Controller to sleep"
2: - nullsub
3: Exit/ConfirmExit - GetModuleLoadOpinion
4: ConfirmExit

Z Interface

contains 1 sub:

0: 2 Parameter:

0x0000005A ("Z")

Initialization

Load up parameters:

functions = 
memory_container = (memory container)
utility_mode = 1
heap_size = int
unload_callback = void * callback
ps_callback = void * callback
max_tabs = int
fullscreen = int
render = int
overflowauto = int
transparent = int
posx = int
posy = int
sizex = int
sizey = int
resolution = int
restrict = int
busyicon = int
hinban = int/string?
mimetype_hookc_cb = void * callback
error_hook_cb = void * callback
status_error_hook_cb = void * callback
notify_hook_cb = void * callback
request_hook_cb = void * callback