view src/xembed.hh @ 1958:7860a3051241

Fix for endless loop with META refresh and same URL or no URL at all
author Jorge Arellano Cid <jcid@dillo.org>
date Fri, 15 Apr 2011 14:08:53 -0300
parents 0c700b9cd251
children 3e1144e4a40f
line wrap: on
line source
#ifndef __XEMBED_HH__
#define __XEMBED_HH__

#include <FL/Fl_Window.H>

#include "d_size.h"

class Xembed : public Fl_Window {
   private:
      uint32_t xid;
      void createInternal(uint32_t parent);
      void setXembedInfo(unsigned long flags);
      void sendXembedEvent(uint32_t message);

   public:
      Xembed(uint32_t xid, int _w, int _h) : Fl_Window(_w, _h) {
         this->xid = xid;
      };
      void create();
      int handle(int event);
};

#endif