webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Macros | Functions
WebLocalizableStrings.h File Reference
#include <CoreFoundation/CoreFoundation.h>

Go to the source code of this file.

Classes

struct  WebLocalizableStringsBundle
 

Macros

#define UI_STRING(string, comment)   WebLocalizedStringUTF8(0, string)
 
#define UI_STRING_KEY(string, key, comment)   WebLocalizedStringUTF8(0, key)
 
#define LPCTSTR_UI_STRING(string, comment)   WebLocalizedLPCTSTRUTF8(0, string)
 
#define LPCTSTR_UI_STRING_KEY(string, key, comment)   WebLocalizedLPCTSTRUTF8(0, key)
 

Functions

CFStringRef WebLocalizedStringUTF8 (WebLocalizableStringsBundle *, LPCSTR key)
 
LPCTSTR WebLocalizedLPCTSTRUTF8 (WebLocalizableStringsBundle *, LPCSTR key)
 
void SetWebLocalizedStringMainBundle (CFBundleRef bundle)
 
CFStringRef WebLocalizedString (WebLocalizableStringsBundle *bundle, LPCTSTR key)
 
LPCTSTR WebLocalizedLPCTSTR (WebLocalizableStringsBundle *bundle, LPCTSTR key)
 

Macro Definition Documentation

◆ LPCTSTR_UI_STRING

#define LPCTSTR_UI_STRING (   string,
  comment 
)    WebLocalizedLPCTSTRUTF8(0, string)

◆ LPCTSTR_UI_STRING_KEY

#define LPCTSTR_UI_STRING_KEY (   string,
  key,
  comment 
)    WebLocalizedLPCTSTRUTF8(0, key)

◆ UI_STRING

#define UI_STRING (   string,
  comment 
)    WebLocalizedStringUTF8(0, string)

◆ UI_STRING_KEY

#define UI_STRING_KEY (   string,
  key,
  comment 
)    WebLocalizedStringUTF8(0, key)

Function Documentation

◆ SetWebLocalizedStringMainBundle()

void SetWebLocalizedStringMainBundle ( CFBundleRef  bundle)

◆ WebLocalizedLPCTSTR()

LPCTSTR WebLocalizedLPCTSTR ( WebLocalizableStringsBundle bundle,
LPCTSTR  key 
)

◆ WebLocalizedLPCTSTRUTF8()

LPCTSTR WebLocalizedLPCTSTRUTF8 ( WebLocalizableStringsBundle ,
LPCSTR  key 
)

◆ WebLocalizedString()

CFStringRef WebLocalizedString ( WebLocalizableStringsBundle bundle,
LPCTSTR  key 
)

◆ WebLocalizedStringUTF8()

CFStringRef WebLocalizedStringUTF8 ( WebLocalizableStringsBundle ,
LPCSTR  key 
)