view src/win32/win32dep.h @ 4724:b9e7ccf21f9c

[gaim-migrate @ 5037] I stayed up all night and readded tooltips. It feels great. GTK 2 provides no easy way to add a tooltip to a row of a GtkTreeView so I had to do it all by hand. In doing so, I took some liberties and did some stuff most tooltips can't do... my tooltips have Markup and Pixbufs in them =-). Tomorrow, KingAnt gets back. I'll let him readd the AIM-specific tooltip stuff. Capabilities and logged on time used to live in the buddy struct, but were removed for being too aim-centric. KingAnt will put them back, I'm sure. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Wed, 12 Mar 2003 11:37:31 +0000
parents 75f75ef235e4
children 89a5b0e23ea4
line wrap: on
line source

/*
 *  win32dep.h
 */

#ifndef _WIN32DEP_H_
#define _WIN32DEP_H_
#include <winsock.h>
#include <gtk/gtk.h>
#include <gdk/gdkevents.h>
#include "wgaimerror.h"
#include "libc_interface.h"
#include "systray.h"

/*
 *  PROTOS
 */

/**
 ** win32dep.c
 **/
/* Misc */
FARPROC wgaim_find_and_loadproc(char*, char*);
HINSTANCE wgaim_hinstance(void);
extern void wgaim_im_blink(GtkWidget*);
extern char* wgaim_escape_dirsep(char*);

/* Determine Gaim paths */
extern char* wgaim_install_dir(void);
extern char* wgaim_lib_dir(void);
extern char* wgaim_locale_dir(void);

/* init / cleanup */
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()

/* Temp solution for gtk_window_get_pos & gtk_window_move conflict */
#define gtk_window_move( window, x, y ) \
wgaim_gtk_window_move( ## window ##, ## x ##, ## y ## )

/*
 *  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_ */