00001 /* inputfilter.h */ 00002 /* rob smith */ 00003 00004 #ifndef __INPUTFILTER_H 00005 #define __INPUTFILTER_H 00006 00007 #include "frame.h" 00008 #ifndef NO_GUI 00009 #include <gtk/gtk.h> 00010 #endif 00011 00012 class input_filter: public Filter 00013 { 00014 public: 00015 input_filter(); 00016 virtual ~input_filter(); 00017 00018 virtual bool filter_frame(FrameClass &frame); 00019 virtual void property_changed(); 00020 virtual void reset(); 00021 bool open_file(string filename); 00022 00023 private: 00024 string filename; 00025 bool is_set; 00026 unsigned int at; 00027 vector<ColorImage> images; 00028 }; 00029 00030 #ifdef DYNAMIC_LINK 00031 extern "C"{ 00032 Filter * create_instance(); 00033 #ifndef NO_GUI 00034 GdkPixmap * create_icon(GtkWidget *drawing_area); 00035 #endif 00036 } 00037 #endif 00038 00039 #endif
1.2.14 written by Dimitri van Heesch,
© 1997-2002