kviewshell
DjVuMessage.cpp File Reference
#include "DjVuMessage.h"
#include "GOS.h"
#include "XMLTags.h"
#include "ByteStream.h"
#include "GURL.h"
#include "debug.h"
#include <ctype.h>
#include <string.h>
#include <stdlib.h>
#include <locale.h>
Go to the source code of this file.
Defines | |
#define | LC_MESSAGES LC_ALL |
Functions | |
static void | appendPath (const GURL &url, GMap< GUTF8String, void * > &map, GList< GURL > &list) |
const char * | djvu_programname (const char *xprogramname) |
void | DjVuFormatErrorNative (const char *fmt,...) |
void | DjVuFormatErrorUTF8 (const char *fmt,...) |
void | DjVuMessageLookUpNative (char *msg_buffer, const unsigned int buffer_size, const char *message) |
void | DjVuMessageLookUpUTF8 (char *msg_buffer, const unsigned int buffer_size, const char *message) |
static GUTF8String | getbodies (GList< GURL > &paths, const GUTF8String &MessageFileName, GPList< lt_XMLTags > &body, GMap< GUTF8String, void * > &map) |
static GUTF8String | parse (GMap< GUTF8String, GP< lt_XMLTags > > &retval) |
Variables | |
static const char | bodystring [] = "BODY" |
static const char | DjVuEnv [] = "DJVU_CONFIG_DIR" |
static const char * | failed_to_parse_XML = ERR_MSG("DjVuMessage.failed_to_parse_XML") |
static const char | headstring [] = "HEAD" |
static const char | includestring [] = "INCLUDE" |
static const char | LanguageFile [] = "languages.xml" |
static const char | languagestring [] = "LANGUAGE" |
static const char | LocalDjVuDir [] = ".DjVu" |
static const char | localestring [] = "locale" |
static const char | MessageFile [] = "messages.xml" |
static const char | messagestring [] = "MESSAGE" |
static const char | ModuleDjVuDir [] = "profiles" |
static const char | namestring [] = "name" |
static const char | opensourcedir [] = "osi" |
static const char | RootDjVuDir [] = "/etc/DjVu/" |
static const char | srcstring [] = "src" |
Define Documentation
#define LC_MESSAGES LC_ALL |
Definition at line 89 of file DjVuMessage.cpp.
Function Documentation
static void appendPath | ( | const GURL & | url, | |
GMap< GUTF8String, void * > & | map, | |||
GList< GURL > & | list | |||
) | [static] |
Definition at line 261 of file DjVuMessage.cpp.
const char* djvu_programname | ( | const char * | xprogramname | ) |
Definition at line 642 of file DjVuMessage.cpp.
void DjVuFormatErrorNative | ( | const char * | fmt, | |
... | ||||
) |
Definition at line 633 of file DjVuMessage.cpp.
void DjVuFormatErrorUTF8 | ( | const char * | fmt, | |
... | ||||
) |
Definition at line 624 of file DjVuMessage.cpp.
void DjVuMessageLookUpNative | ( | char * | msg_buffer, | |
const unsigned int | buffer_size, | |||
const char * | message | |||
) |
Definition at line 589 of file DjVuMessage.cpp.
void DjVuMessageLookUpUTF8 | ( | char * | msg_buffer, | |
const unsigned int | buffer_size, | |||
const char * | message | |||
) |
Definition at line 604 of file DjVuMessage.cpp.
static GUTF8String getbodies | ( | GList< GURL > & | paths, | |
const GUTF8String & | MessageFileName, | |||
GPList< lt_XMLTags > & | body, | |||
GMap< GUTF8String, void * > & | map | |||
) | [static] |
Definition at line 442 of file DjVuMessage.cpp.
static GUTF8String parse | ( | GMap< GUTF8String, GP< lt_XMLTags > > & | retval | ) | [static] |
Definition at line 524 of file DjVuMessage.cpp.
Variable Documentation
const char bodystring[] = "BODY" [static] |
Definition at line 112 of file DjVuMessage.cpp.
const char DjVuEnv[] = "DJVU_CONFIG_DIR" [static] |
Definition at line 142 of file DjVuMessage.cpp.
const char* failed_to_parse_XML = ERR_MSG("DjVuMessage.failed_to_parse_XML") [static] |
Definition at line 111 of file DjVuMessage.cpp.
const char headstring[] = "HEAD" [static] |
Definition at line 114 of file DjVuMessage.cpp.
const char includestring[] = "INCLUDE" [static] |
Definition at line 115 of file DjVuMessage.cpp.
const char LanguageFile[] = "languages.xml" [static] |
Definition at line 146 of file DjVuMessage.cpp.
const char languagestring[] = "LANGUAGE" [static] |
Definition at line 113 of file DjVuMessage.cpp.
const char LocalDjVuDir[] = ".DjVu" [static] |
Definition at line 128 of file DjVuMessage.cpp.
const char localestring[] = "locale" [static] |
Definition at line 117 of file DjVuMessage.cpp.
const char MessageFile[] = "messages.xml" [static] |
Definition at line 145 of file DjVuMessage.cpp.
const char messagestring[] = "MESSAGE" [static] |
Definition at line 116 of file DjVuMessage.cpp.
const char ModuleDjVuDir[] = "profiles" [static] |
Definition at line 126 of file DjVuMessage.cpp.
const char namestring[] = "name" [static] |
Definition at line 108 of file DjVuMessage.cpp.
const char opensourcedir[] = "osi" [static] |
Definition at line 121 of file DjVuMessage.cpp.
const char RootDjVuDir[] = "/etc/DjVu/" [static] |
Definition at line 139 of file DjVuMessage.cpp.
const char srcstring[] = "src" [static] |
Definition at line 109 of file DjVuMessage.cpp.