26 #ifndef WebLocalizableStrings_H 27 #define WebLocalizableStrings_H 29 #include <CoreFoundation/CoreFoundation.h> 55 #define LOCALIZABLE_STRINGS_BUNDLE(F) LOCALIZABLE_STRINGS_BUNDLE_HELPER(F) 56 #define LOCALIZABLE_STRINGS_BUNDLE_HELPER(F) F ## LocalizableStringsBundle 59 #define UI_STRING(string, comment) WebLocalizedStringUTF8(&LOCALIZABLE_STRINGS_BUNDLE(FRAMEWORK_NAME), string) 60 #define UI_STRING_KEY(string, key, comment) WebLocalizedStringUTF8(&LOCALIZABLE_STRINGS_BUNDLE(FRAMEWORK_NAME), key) 61 #define LPCTSTR_UI_STRING(string, comment) WebLocalizedLPCTSTRUTF8(&LOCALIZABLE_STRINGS_BUNDLE(FRAMEWORK_NAME), string) 62 #define LPCTSTR_UI_STRING_KEY(string, key, comment) WebLocalizedLPCTSTRUTF8(&LOCALIZABLE_STRINGS_BUNDLE(FRAMEWORK_NAME), key) 66 #define UI_STRING(string, comment) WebLocalizedStringUTF8(0, string) 67 #define UI_STRING_KEY(string, key, comment) WebLocalizedStringUTF8(0, key) 68 #define LPCTSTR_UI_STRING(string, comment) WebLocalizedLPCTSTRUTF8(0, string) 69 #define LPCTSTR_UI_STRING_KEY(string, key, comment) WebLocalizedLPCTSTRUTF8(0, key) Definition: RTCConfiguration.idl:27
struct __CFBundle * CFBundleRef
Definition: WebKitCOMAPI.h:45
static const char * key
Definition: WebLocalizableStrings.h:56
CFStringRef WebLocalizedStringUTF8(WebLocalizableStringsBundle *, LPCSTR key)
Definition: WebLocalizableStrings.cpp:215
Definition: WebLocalizableStrings.h:41
const struct __CFString * CFStringRef
Definition: WebCoreSystemInterface.h:31
WebLocalizedStringType WebLocalizedString(WebLocalizableStringsBundle *bundle, const char *key)
Definition: WebLocalizableStrings.mm:36
LPCWSTR LPCTSTR
Definition: WebKitGraphics.h:38
CFBundleRef bundle
Definition: WebLocalizableStrings.h:33
void SetWebLocalizedStringMainBundle(CFBundleRef bundle)
Definition: WebLocalizableStrings.cpp:249
LPCTSTR WebLocalizedLPCTSTRUTF8(WebLocalizableStringsBundle *, LPCSTR key)
Definition: WebLocalizableStrings.cpp:223
required DOMString identifier
Definition: ApplePayShippingMethod.idl:33
LPCTSTR WebLocalizedLPCTSTR(WebLocalizableStringsBundle *bundle, LPCTSTR key)
Definition: WebLocalizableStrings.cpp:241