view src/xembed.hh @ 1494:9225a90ad7dd

make Doctree a non-virtual class Doctree now is a proper class with it's own implementation. StyleEngine no longer needs to provide the Doctree interface itself. This hopefully make the code easier to understand and should also be a bit faster as no virtual methods are involved.
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Thu, 07 Jan 2010 16:23:05 +0100
parents fd2b0634abe9
children 0c700b9cd251
line wrap: on
line source
#ifndef __XEMBED_HH__
#define __XEMBED_HH__

#include <fltk/Window.h>

#include "d_size.h"

class Xembed : public fltk::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) : fltk::Window(_w, _h) {
         this->xid = xid;
      };
      void create();
      int handle(int event);
};

#endif