WebModule.h 687 B

123456789101112131415161718192021222324252627282930313233343536
  1. // Copyright aXiuShen. All Rights Reserved.
  2. #pragma once
  3. #include "CoreMinimal.h"
  4. #include "Modules/ModuleInterface.h"
  5. #include "Modules/ModuleManager.h"
  6. #include "Materials/MaterialInterface.h"
  7. #include "warp_macro.h"
  8. namespace webview {
  9. class CEFBROWSER_DLL IBrowserInstance
  10. {
  11. public:
  12. /**
  13. * Get or load the Web Browser Module
  14. * @return The loaded module
  15. */
  16. static IBrowserInstance& Get();
  17. /**
  18. * Check whether the module has already been loaded
  19. *
  20. * @return True if the module is loaded
  21. */
  22. virtual void OnBeginPIE()=0;
  23. virtual void OnEndPIE()=0;
  24. virtual void Load()=0;
  25. virtual void UnLoad()=0;
  26. virtual bool check_brand(int brand)=0;
  27. };
  28. }