FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
JSEvent.h
1 /**********************************************************\
2 Original Author: Richard Bateman (taxilian)
3 
4 Created: Dec 17, 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 Richard Bateman, Firebreath development team
13 \**********************************************************/
14 
15 #pragma once
16 #ifndef H_FB_JSEVENT
17 #define H_FB_JSEVENT
18 
19 #include "APITypes.h"
20 #include "JSAPIAuto.h"
21 
22 namespace FB {
23 
24  FB::VariantMap CreateEvent(const FB::JSAPIPtr& api, const std::string& name, const FB::VariantMap &members, const FB::VariantList &arguments);
25  FB::VariantMap CreateEvent(const FB::JSAPIPtr& api, const std::string& name, const FB::VariantMap &members);
26  FB::VariantMap CreateEvent(const FB::JSAPIPtr& api, const std::string& name, const FB::VariantList &arguments);
27 
28 };
29 
30 #endif
31 
std::vector< variant > VariantList
Defines an alias representing list of variants.
Definition: APITypes.h:64
boost::shared_ptr< FB::JSAPI > JSAPIPtr
Defines an alias for a JSAPI shared_ptr (you should never use a JSAPI* directly)
Definition: APITypes.h:94
std::map< std::string, variant > VariantMap
Defines an alias representing a string -> variant map.
Definition: APITypes.h:72