]> git.mxchange.org Git - simgear.git/blobdiff - simgear/canvas/canvas_fwd.hxx
Fixes for error handling in NetChannel
[simgear.git] / simgear / canvas / canvas_fwd.hxx
index 6b34e028f0f4147954ce25e357eb5cf61ebe9b39..3b1b464690dcd8c1783d71de27c4853f2394b5fe 100644 (file)
@@ -51,6 +51,12 @@ namespace canvas
   SG_FWD_DECL(Text)
   SG_FWD_DECL(Window)
 
+  SG_FWD_DECL(Event)
+  SG_FWD_DECL(CustomEvent)
+  SG_FWD_DECL(DeviceEvent)
+  SG_FWD_DECL(KeyboardEvent)
+  SG_FWD_DECL(MouseEvent)
+
 #undef SG_FWD_DECL
 
 #define SG_FWD_DECL(name)\
@@ -58,8 +64,6 @@ namespace canvas
   typedef boost::shared_ptr<name> name##Ptr;\
   typedef boost::weak_ptr<name> name##WeakPtr;
 
-  SG_FWD_DECL(Event)
-  SG_FWD_DECL(MouseEvent)
   SG_FWD_DECL(Placement)
   SG_FWD_DECL(SystemAdapter)
 
@@ -68,6 +72,9 @@ namespace canvas
   class EventManager;
   class EventVisitor;
 
+  struct EventTarget;
+  typedef std::deque<EventTarget> EventPropagationPath;
+
   typedef std::map<std::string, const SGPropertyNode*> Style;
   typedef ElementPtr (*ElementFactory)( const CanvasWeakPtr&,
                                         const SGPropertyNode_ptr&,