Initial rodecomp source snapshot
This commit is contained in:
commit
d456e8f64a
916 changed files with 156023 additions and 0 deletions
21
Source/Client/BrowserCreation.h
Normal file
21
Source/Client/BrowserCreation.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#ifndef RAGNAROK_SOURCE_CLIENT_BROWSERCREATION_H
|
||||
#define RAGNAROK_SOURCE_CLIENT_BROWSERCREATION_H
|
||||
|
||||
#include "Client/BrowserAddressBar.h"
|
||||
#include "Client/BrowserHostWindow.h"
|
||||
#include "Client/BrowserSiteAttachment.h"
|
||||
|
||||
// Views must refer to the same CWebBrowser fields. Caller supplies the complete
|
||||
// host procedure, edit subclass and site event dependency. No rollback on error:
|
||||
// browser, host, site and native children remain published at their original steps.
|
||||
struct BrowserCreation {
|
||||
IWebBrowser2*& browser;
|
||||
HWND& browserWindow;
|
||||
BrowserHostWindow& window;
|
||||
BrowserSiteAttachment& attachment;
|
||||
BrowserAddressBar& addressBar;
|
||||
|
||||
bool Create(HWND parent, HINSTANCE instance, int width, int height);
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue