mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2024-12-27 10:03:31 +01:00
35e21da884
- The libcef project now builds libcef_static.lib instead of libcef.lib. - The libcef_dll project builds libcef.lib and libcef.dll. This DLL exports the new CEF C API defined in cef_capi.h, cef_nplugin_capi.h, cef_string.h and cef_string_map.h. - The libcef_dll_wrapper project builds libcef_dll_wrapper.lib. This static library wraps the new C API calls with an implementation of the CEF C++ interface as defined in cef.h and cef_nplugin.h. - The cefclient project now uses the DLL instead of the static library. - Type definitions have been moved from cef.h to cef_types.h so that they can be shared by both cef.h and cef_capi.h. This change required some enumeration member name modifications throughout the code base. - Fixed variable naming inconsistencies. - Added CefVariant::GetArraySize() method and _NPN_ArrayObjectGetVectorSize() function. - Remove the ProjectSection(WebsiteProperties) sections from cef.sln to improve VS2005 performance. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@16 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
24 lines
978 B
C++
24 lines
978 B
C++
// Copyright (c) 2009 The Chromium Embedded Framework Authors. All rights
|
|
// reserved. Use of this source code is governed by a BSD-style license that
|
|
// can be found in the LICENSE file.
|
|
|
|
#ifndef _TRANSFER_UTIL_H
|
|
#define _TRANSFER_UTIL_H
|
|
|
|
#include "cef_string.h"
|
|
#include "cef_string_map.h"
|
|
|
|
// Copy contents from one map type to another.
|
|
void transfer_string_map_contents(cef_string_map_t fromMap,
|
|
std::map<std::wstring, std::wstring>& toMap);
|
|
void transfer_string_map_contents(const std::map<std::wstring, std::wstring>& fromMap,
|
|
cef_string_map_t toMap);
|
|
|
|
// Copy the contents from one string type to another.
|
|
void transfer_string_contents(const std::wstring& fromString,
|
|
cef_string_t* toString);
|
|
void transfer_string_contents(cef_string_t fromString, std::wstring& toString,
|
|
bool freeFromString);
|
|
|
|
#endif // _TRANSFER_UTIL_H
|