Lines 3-10
Link Here
|
3 |
#include <fstream> |
3 |
#include <fstream> |
4 |
#include <iostream> |
4 |
#include <iostream> |
5 |
#include <xosd.h> |
5 |
#include <xosd.h> |
6 |
#include <stdio.h> |
6 |
#include <cstring> |
7 |
#include <stdlib.h> |
|
|
8 |
#include <langinfo.h> |
7 |
#include <langinfo.h> |
9 |
#include "xchatosd.h" |
8 |
#include "xchatosd.h" |
10 |
#include "xchatosd_lang.h" |
9 |
#include "xchatosd_lang.h" |
Lines 22-28
Link Here
|
22 |
static xchat_plugin *ph; |
21 |
static xchat_plugin *ph; |
23 |
static XOsd *osd = NULL; |
22 |
static XOsd *osd = NULL; |
24 |
static XOsdConf config; |
23 |
static XOsdConf config; |
25 |
static char *codepage; |
24 |
static char const *codepage; |
26 |
#ifdef ICONV_LIB |
25 |
#ifdef ICONV_LIB |
27 |
static iconv_t iconv_desc = (iconv_t) (-1); |
26 |
static iconv_t iconv_desc = (iconv_t) (-1); |
28 |
#endif |
27 |
#endif |
Lines 445-452
Link Here
|
445 |
|
444 |
|
446 |
extern "C" { int |
445 |
extern "C" { int |
447 |
xchat_plugin_init(xchat_plugin * plugin_handle, |
446 |
xchat_plugin_init(xchat_plugin * plugin_handle, |
448 |
char **plugin_name, |
447 |
char const **plugin_name, |
449 |
char **plugin_desc, char **plugin_version, char *arg) |
448 |
char const **plugin_desc, char const **plugin_version, char *arg) |
450 |
{ |
449 |
{ |
451 |
ph = plugin_handle; |
450 |
ph = plugin_handle; |
452 |
XOSDconfRead(); |
451 |
XOSDconfRead(); |