00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef WCRGRAPHICSPIPE_H
00019 #define WCRGRAPHICSPIPE_H
00020
00021
00022
00023
00024 #include <pandabase.h>
00025
00026 #include <string>
00027 #include <interactiveGraphicsPipe.h>
00028
00029 #define WINDOWS_LEAN_AND_MEAN
00030 #include <windows.h>
00031 #undef WINDOWS_LEAN_AND_MEAN
00032
00033
00034
00035
00036
00037 class EXPCL_PANDACR wcrGraphicsPipe : public InteractiveGraphicsPipe {
00038 PUBLISHED:
00039 wcrGraphicsPipe(const PipeSpecifier&);
00040
00041 virtual TypeHandle get_window_type() const;
00042
00043 public:
00044
00045 static GraphicsPipe* make_wcrGraphicsPipe(const FactoryParams ¶ms);
00046
00047 static TypeHandle get_class_type();
00048 static void init_type();
00049 virtual TypeHandle get_type() const;
00050 virtual TypeHandle force_init_type() {init_type(); return get_class_type();}
00051
00052 private:
00053
00054 static TypeHandle _type_handle;
00055
00056 protected:
00057
00058 wcrGraphicsPipe();
00059 wcrGraphicsPipe(const wcrGraphicsPipe&);
00060 wcrGraphicsPipe& operator=(const wcrGraphicsPipe&);
00061 };
00062
00063 #endif