RetroArch
Classes | Typedefs | Enumerations | Functions | Variables
translation_driver.h File Reference
#include <boolean.h>
#include <retro_common_api.h>
#include "ocr_driver.h"
Include dependency graph for translation_driver.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  translation_driver_info
 
struct  translation_driver
 

Typedefs

typedef struct translation_driver translation_driver_t
 

Enumerations

enum  translation_init_errors {
  TRANSLATION_INIT_SUCCESS = 0, TRANSLATION_INIT_UNSUPPORTED_DEVICE_LANGUAGE, TRANSLATION_INIT_UNSUPPORTED_GAME_LANGUAGE, TRANSLATION_INIT_UNKNOWN_DEVICE_LANGUAGE,
  TRANSLATION_INIT_UNKNOWN_GAME_LANGUAGE
}
 

Functions

bool translation_driver_init (void)
 
void translation_driver_free (void)
 
char * translation_driver_translate_image (struct ocr_image_info image)
 

Variables

const translation_driver_t translation_cached_google
 
const translation_driver_t translation_null
 

Typedef Documentation

◆ translation_driver_t

Enumeration Type Documentation

◆ translation_init_errors

Enumerator
TRANSLATION_INIT_SUCCESS 
TRANSLATION_INIT_UNSUPPORTED_DEVICE_LANGUAGE 
TRANSLATION_INIT_UNSUPPORTED_GAME_LANGUAGE 
TRANSLATION_INIT_UNKNOWN_DEVICE_LANGUAGE 
TRANSLATION_INIT_UNKNOWN_GAME_LANGUAGE 

Function Documentation

◆ translation_driver_free()

void translation_driver_free ( void  )

◆ translation_driver_init()

bool translation_driver_init ( void  )
Here is the call graph for this function:

◆ translation_driver_translate_image()

char* translation_driver_translate_image ( struct ocr_image_info  image)
Here is the call graph for this function:

Variable Documentation

◆ translation_cached_google

const translation_driver_t translation_cached_google

◆ translation_null

const translation_driver_t translation_null