mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-06 12:09:40 +00:00
53 lines
1007 B
C++
53 lines
1007 B
C++
// CefSharp.h
|
|
|
|
#include "stdafx.h"
|
|
#pragma once
|
|
|
|
#include "BrowserControl.h"
|
|
#include "Request.h"
|
|
#include "ReturnValue.h"
|
|
|
|
using namespace System;
|
|
using namespace System::IO;
|
|
|
|
namespace CefSharp
|
|
{
|
|
public ref class CEF sealed
|
|
{
|
|
public:
|
|
static property String^ CefSharpVersion
|
|
{
|
|
String^ get()
|
|
{
|
|
return "0.1";
|
|
}
|
|
}
|
|
|
|
static property String^ CefVersion
|
|
{
|
|
String^ get()
|
|
{
|
|
return "trunk r149";
|
|
}
|
|
}
|
|
|
|
static property String^ ChromiumVersion
|
|
{
|
|
String^ get()
|
|
{
|
|
return "trunk r66269";
|
|
}
|
|
}
|
|
|
|
static bool Initialize(Settings^ settings, BrowserSettings^ browserSettings)
|
|
{
|
|
return CefInitialize(*settings->_cefSettings, *browserSettings->_browserSettings);
|
|
}
|
|
|
|
static void Shutdown()
|
|
{
|
|
CefShutdown();
|
|
}
|
|
};
|
|
}
|