rodecomp/Source/UI/BrowserFactory.h
2026-10-24 00:35:19 +00:00

25 lines
702 B
C++

#ifndef RAGNAROK_SOURCE_UI_BROWSERFACTORY_H
#define RAGNAROK_SOURCE_UI_BROWSERFACTORY_H
#include <windows.h>
class CWebBrowser;
struct WebBrowserContext;
struct BrowserRegistry;
struct ChatNotifications;
// Ordinary browser creation is distinct from the special-browser factory.
// The limit counts all map nodes, not nonnull entries. Failed ordinary creation
// retains the allocated browser in the original; it is not published or deleted.
struct BrowserFactory {
BrowserRegistry& registry;
WebBrowserContext& context;
ChatNotifications& notifications;
const bool& languagePrefix;
const int& serviceType;
const WORD& language;
CWebBrowser* Create(int width, int height);
};
#endif