Initial rodecomp source snapshot
This commit is contained in:
commit
d456e8f64a
916 changed files with 156023 additions and 0 deletions
25
Source/Client/BrowserInputHandoff.h
Normal file
25
Source/Client/BrowserInputHandoff.h
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
#ifndef RAGNAROK_SOURCE_CLIENT_BROWSERINPUTHANDOFF_H
|
||||
#define RAGNAROK_SOURCE_CLIENT_BROWSERINPUTHANDOFF_H
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
class CMouse;
|
||||
struct ServiceOptions;
|
||||
namespace client {
|
||||
struct ApplicationActivation;
|
||||
}
|
||||
|
||||
// Borrowed original CWebBrowser service-option latch, main HWND and global
|
||||
// input owners. Restoration retains the latch; it is not a one-shot operation.
|
||||
struct BrowserInputHandoff {
|
||||
unsigned char& restoreOption;
|
||||
HWND const& applicationWindow;
|
||||
ServiceOptions& service;
|
||||
CMouse& mouse;
|
||||
client::ApplicationActivation& activation;
|
||||
|
||||
void Enter();
|
||||
void Restore();
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue