FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
NpapiPluginFactory.h
1 /**********************************************************\
2  Original Author: Georg Fritzsche
3 
4  Created: Oct 23, 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 Georg Fritzsche, Firebreath development team
13  \**********************************************************/
14 
15 #pragma once
16 #ifndef H_FB_NPAPIPLUGINFACTORY
17 #define H_FB_NPAPIPLUGINFACTORY
18 
19 #include <boost/shared_ptr.hpp>
20 
21 namespace FB { namespace Npapi
22 {
23  class NpapiPlugin;
24  class NpapiBrowserHost;
25  typedef boost::shared_ptr<NpapiPlugin> NpapiPluginPtr;
26  typedef boost::shared_ptr<NpapiBrowserHost> NpapiBrowserHostPtr;
27 
28  NpapiPluginPtr createNpapiPlugin(const NpapiBrowserHostPtr& host, const std::string& mimetype);
29 } }
30 
31 #endif
32