FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
DOM.h
1 /**********************************************************\
2 Original Author: Richard Bateman (taxilian)
3 
4 Created: Sep 21, 2010
5 License: Dual license model; choose one of two:
6  New BSD License
7  http://www.opensource.org/licenses/bsd-license.php
8  - or -
9  GNU Lesser General Public License, version 2.1
10  http://www.gnu.org/licenses/lgpl-2.1.html
11 
12 Copyright 2010 Facebook, Inc and the Firebreath development team
13 \**********************************************************/
14 
15 #pragma once
16 #ifndef H_FB_DOM
17 #define H_FB_DOM
18 
19 #include <boost/shared_ptr.hpp>
20 
21 namespace FB {
50  namespace DOM {
51 
52  class Window;
53  class Document;
54  class Element;
55  class Node;
56 
58  typedef boost::shared_ptr<Window> WindowPtr;
60  typedef boost::shared_ptr<Document> DocumentPtr;
62  typedef boost::shared_ptr<Element> ElementPtr;
64  typedef boost::shared_ptr<Node> NodePtr;
65 
66 }; };
67 
68 #include "DOM/Node.h"
69 #include "DOM/Element.h"
70 #include "DOM/Document.h"
71 #include "DOM/Window.h"
72 
73 #endif // H_FB_DOM
74 
boost::shared_ptr< Node > NodePtr
shared_ptr for a FB::DOM::Node
boost::shared_ptr< Window > WindowPtr
shared_ptr for a FB::DOM::Window
boost::shared_ptr< Document > DocumentPtr
shared_ptr for a FB::DOM::Document
boost::shared_ptr< Element > ElementPtr
shared_ptr for a FB::DOM::Element