chromium/ppapi/c/trusted/ppb_char_set_trusted.h

/* Copyright 2012 The Chromium Authors
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

/* From trusted/ppb_char_set_trusted.idl modified Wed Feb  8 16:34:25 2012. */

#ifndef PPAPI_C_TRUSTED_PPB_CHAR_SET_TRUSTED_H_
#define PPAPI_C_TRUSTED_PPB_CHAR_SET_TRUSTED_H_

#include "ppapi/c/pp_bool.h"
#include "ppapi/c/pp_instance.h"
#include "ppapi/c/pp_macros.h"
#include "ppapi/c/pp_stdint.h"
#include "ppapi/c/pp_var.h"

#define PPB_CHARSET_TRUSTED_INTERFACE_1_0
#define PPB_CHARSET_TRUSTED_INTERFACE

/**
 * @file
 *
 * This file defines the <code>PPB_CharSet_Trusted</code> interface.
 */


/**
 * @addtogroup Enums
 * @{
 */
PP_CharSet_Trusted_ConversionError;
PP_COMPILE_ASSERT_SIZE_IN_BYTES();
/**
 * @}
 */

/**
 * @addtogroup Interfaces
 * @{
 */
/**
 * The <code>PPB_CharSet_Trusted</code> interface provides functions for
 * converting between character sets.
 *
 * This inteface is provided for trusted plugins only since in Native Client it
 * would require an expensive out-of-process IPC call for each conversion,
 * which makes performance unacceptable. Native Client plugins should include
 * ICU or some other library if they need this feature.
 */
struct PPB_CharSet_Trusted_1_0 {};

PPB_CharSet_Trusted;
/**
 * @}
 */

#endif  /* PPAPI_C_TRUSTED_PPB_CHAR_SET_TRUSTED_H_ */