view src/win32/win32dep.h @ 3922:30f52e7afd1d

[gaim-migrate @ 4094] This is gtkimhtml2--it's a subclass of gtktextview. It's not done yet. It doesn't do smileys or images, and what it does do so far, it doesn't do perfectly. But it's perfectly 100% usable, and like 80,000 times faster than gtkimhtml + Pango. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Fri, 08 Nov 2002 06:10:35 +0000
parents 41e7544a9c67
children c25cf0495533
line wrap: on
line source

/*
 *  win32dep.h
 */

#ifndef _WIN32DEP_H_
#define _WIN32DEP_H_
#include <winsock.h>
#include <gdk/gdkevents.h>
#include "winerror.h"
#include "libc_interface.h"


/*
 *  PROTOS
 */

/* win32dep.c */
extern char* wgaim_install_dir(void);
extern char* wgaim_lib_dir(void);
extern char* wgaim_locale_dir(void);
extern GdkFilterReturn wgaim_window_filter(GdkXEvent *xevent, 
					   GdkEvent *event, 
					   gpointer data);
extern void wgaim_init(void);
extern void wgaim_cleanup(void);

/*
 *  MACROS
 */

/*
 *  Gaim specific
 */
#define DATADIR wgaim_install_dir()
#define LIBDIR wgaim_lib_dir()
#define LOCALEDIR wgaim_locale_dir()

/*
 *  Gtk specific
 */
/* Needed for accessing global variables outside the current module */
#ifdef G_MODULE_IMPORT
#undef G_MODULE_IMPORT
#endif
#define G_MODULE_IMPORT __declspec(dllimport)


#endif /* _WIN32DEP_H_ */