FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
axutil.h
1 /**********************************************************\
2 Original Author: Georg Fritzsche
3 
4 Created: Sept 17, 2009
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 2009 Richard Bateman, Firebreath development team
13 \**********************************************************/
14 
15 #pragma once
16 #ifndef H_AXUTIL
17 #define H_AXUTIL
18 
19 #include "win_common.h"
20 #include "TypeIDMap.h"
21 
22 namespace FB {
23  namespace ActiveX {
24  extern FB::TypeIDMap<DISPID> AxIdMap;
25 
26  class FbPerUserRegistration
27  {
28  public:
29  FbPerUserRegistration(bool perUser = true);
30  ~FbPerUserRegistration();
31 
32  private:
33  #if _ATL_VER < 0x0900
34  static void EnablePerUserTLibRegistration();
35  bool m_mapping;
36  #endif
37  };
38  }
39 }
40 
41 #endif
42 
Bidirectional map between an identifier and a variant.
Definition: TypeIDMap.h:33