view plugins/crazychat/filter.h @ 13476:465c368366f8

[gaim-migrate @ 15852] Add GAIM_MESSAGE_ACTIVE_ONLY: This allows core plugins to hint to the UI that it should not show a message if a conversation is "inactive". For the GTK+ UI, this means conversations that aren't the active conversation in a contact-aware conversation. With the GTK+ UI, to avoid having such a message logged, you need to either call gaim_conv_im_write() (which will drop the message before logging, or allow it through for both logging and displaying) or set the GAIM_MESSAGE_NO_LOG flag (which obviously suppresses all logging). Look at the Buddy State Notification and Psychic plugins for the examples of each of these techniques, respectively. This fixes a ShowStopperBug. Also, rearrange some stuff in gtkconv.c to make things more clear and remove unused code. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Thu, 09 Mar 2006 04:02:09 +0000
parents ed017b9c532d
children
line wrap: on
line source

#ifndef __FILTER_H__
#define __FILTER_H__

struct cc_features;

typedef struct filter_bank {
	float head_size[10];
	float head_z_rot[10];
	float head_y_rot[10];
	float mouth_open[10];
	float xfilt[10];
	float yfilt[10];
} filter_bank;	

filter_bank* Filter_Initialize (void);
void Filter_Destroy (filter_bank *f);
void filter(struct cc_features *instance, filter_bank *f);

#endif /* __FILTER_H__ */