primeweak.cxx (52046e16) primeweak.cxx (529d6db8)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 30 unchanged lines hidden (view full) ---

39// by the exceptions thrown from implbase_ex.cxx's __queryDeepNoXInterface()
40// that also need to added to the makefile's UNOTYPES define
41
42#define cppu_detail_getUnoType cppu_full_getUnoType
43#define InitTypeDesc(T) {(void)cppu_full_getUnoType(static_cast< T * >(NULL));}
44
45// NOTE: the cppuhelper part in the include paths below ensures that the type descriptions
46// are comprehensive descriptions and not some weak descriptions e.g. from solver
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 30 unchanged lines hidden (view full) ---

39// by the exceptions thrown from implbase_ex.cxx's __queryDeepNoXInterface()
40// that also need to added to the makefile's UNOTYPES define
41
42#define cppu_detail_getUnoType cppu_full_getUnoType
43#define InitTypeDesc(T) {(void)cppu_full_getUnoType(static_cast< T * >(NULL));}
44
45// NOTE: the cppuhelper part in the include paths below ensures that the type descriptions
46// are comprehensive descriptions and not some weak descriptions e.g. from solver
47#include "cppuhelper/com/sun/star/lang/XComponent.hpp"
48#include "cppuhelper/com/sun/star/lang/XInitialization.hpp"
49#include "cppuhelper/com/sun/star/lang/XSingleServiceFactory.hpp"
50#include "cppuhelper/com/sun/star/lang/XSingleComponentFactory.hpp"
51#include "cppuhelper/com/sun/star/lang/XMultiServiceFactory.hpp"
52#include "cppuhelper/com/sun/star/lang/XMultiComponentFactory.hpp"
53#include "cppuhelper/com/sun/star/lang/XServiceInfo.hpp"
54#include "cppuhelper/com/sun/star/lang/XEventListener.hpp"
55#include "cppuhelper/com/sun/star/lang/XTypeProvider.hpp"
56#include "cppuhelper/com/sun/star/lang/XUnoTunnel.hpp"
57#include "cppuhelper/com/sun/star/lang/DisposedException.hpp"
58#include "cppuhelper/com/sun/star/uno/DeploymentException.hpp"
59#include "cppuhelper/com/sun/star/uno/XWeak.hpp"
60#include "cppuhelper/com/sun/star/uno/XCurrentContext.hpp"
61#include "cppuhelper/com/sun/star/uno/XComponentContext.hpp"
62#include "cppuhelper/com/sun/star/uno/RuntimeException.hpp"
63#include "cppuhelper/com/sun/star/util/XMacroExpander.hpp"
64#include "cppuhelper/com/sun/star/beans/PropertyValue.hpp"
65#include "cppuhelper/com/sun/star/beans/XPropertySet.hpp"
66#include "cppuhelper/com/sun/star/beans/XMultiPropertySet.hpp"
67#include "cppuhelper/com/sun/star/container/XContentEnumerationAccess.hpp"
68#include "cppuhelper/com/sun/star/container/XEnumerationAccess.hpp"
69#include "cppuhelper/com/sun/star/container/XEnumeration.hpp"
70#include "cppuhelper/com/sun/star/container/XNameAccess.hpp"
71#include "cppuhelper/com/sun/star/container/XNameReplace.hpp"
72#include "cppuhelper/com/sun/star/container/XNameContainer.hpp"
73#include "cppuhelper/com/sun/star/container/XHierarchicalNameAccess.hpp"
74#include "cppuhelper/com/sun/star/container/XSet.hpp"
75#include "cppuhelper/com/sun/star/bridge/XUnoUrlResolver.hpp"
76#include "cppuhelper/com/sun/star/io/IOException.hpp"
77#include "cppuhelper/com/sun/star/io/FilePermission.hpp"
78#include "cppuhelper/com/sun/star/security/RuntimePermission.hpp"
79#include "cppuhelper/com/sun/star/loader/XImplementationLoader.hpp"
80#include "cppuhelper/com/sun/star/security/XAccessController.hpp"
81#include "cppuhelper/com/sun/star/registry/XRegistryKey.hpp"
82#include "cppuhelper/com/sun/star/registry/XSimpleRegistry.hpp"
83#include "cppuhelper/com/sun/star/reflection/XTypeDescription.hpp"
84#include "cppuhelper/com/sun/star/reflection/XEnumTypeDescription.hpp"
85#include "cppuhelper/com/sun/star/reflection/XArrayTypeDescription.hpp"
86#include "cppuhelper/com/sun/star/reflection/XStructTypeDescription.hpp"
87#include "cppuhelper/com/sun/star/reflection/XUnionTypeDescription.hpp"
88#include "cppuhelper/com/sun/star/reflection/XCompoundTypeDescription.hpp"
89#include "cppuhelper/com/sun/star/reflection/XIndirectTypeDescription.hpp"
90#include "cppuhelper/com/sun/star/reflection/XInterfaceTypeDescription.hpp"
91#include "cppuhelper/com/sun/star/reflection/XInterfaceMemberTypeDescription.hpp"
92#include "cppuhelper/com/sun/star/reflection/XInterfaceMethodTypeDescription.hpp"
93#include "cppuhelper/com/sun/star/reflection/XMethodParameter.hpp"
47#include "com/sun/star/lang/XComponent.hpp"
48#include "com/sun/star/lang/XInitialization.hpp"
49#include "com/sun/star/lang/XSingleServiceFactory.hpp"
50#include "com/sun/star/lang/XSingleComponentFactory.hpp"
51#include "com/sun/star/lang/XMultiServiceFactory.hpp"
52#include "com/sun/star/lang/XMultiComponentFactory.hpp"
53#include "com/sun/star/lang/XServiceInfo.hpp"
54#include "com/sun/star/lang/XEventListener.hpp"
55#include "com/sun/star/lang/XTypeProvider.hpp"
56#include "com/sun/star/lang/XUnoTunnel.hpp"
57#include "com/sun/star/lang/DisposedException.hpp"
58#include "com/sun/star/uno/DeploymentException.hpp"
59#include "com/sun/star/uno/XWeak.hpp"
60#include "com/sun/star/uno/XCurrentContext.hpp"
61#include "com/sun/star/uno/XComponentContext.hpp"
62#include "com/sun/star/uno/RuntimeException.hpp"
63#include "com/sun/star/util/XMacroExpander.hpp"
64#include "com/sun/star/beans/PropertyValue.hpp"
65#include "com/sun/star/beans/XPropertySet.hpp"
66#include "com/sun/star/beans/XMultiPropertySet.hpp"
67#include "com/sun/star/container/XContentEnumerationAccess.hpp"
68#include "com/sun/star/container/XEnumerationAccess.hpp"
69#include "com/sun/star/container/XEnumeration.hpp"
70#include "com/sun/star/container/XNameAccess.hpp"
71#include "com/sun/star/container/XNameReplace.hpp"
72#include "com/sun/star/container/XNameContainer.hpp"
73#include "com/sun/star/container/XHierarchicalNameAccess.hpp"
74#include "com/sun/star/container/XSet.hpp"
75#include "com/sun/star/bridge/XUnoUrlResolver.hpp"
76#include "com/sun/star/io/IOException.hpp"
77#include "com/sun/star/io/FilePermission.hpp"
78#include "com/sun/star/security/RuntimePermission.hpp"
79#include "com/sun/star/loader/XImplementationLoader.hpp"
80#include "com/sun/star/security/XAccessController.hpp"
81#include "com/sun/star/registry/XRegistryKey.hpp"
82#include "com/sun/star/registry/XSimpleRegistry.hpp"
83#include "com/sun/star/reflection/XTypeDescription.hpp"
84#include "com/sun/star/reflection/XEnumTypeDescription.hpp"
85#include "com/sun/star/reflection/XArrayTypeDescription.hpp"
86#include "com/sun/star/reflection/XStructTypeDescription.hpp"
87#include "com/sun/star/reflection/XUnionTypeDescription.hpp"
88#include "com/sun/star/reflection/XCompoundTypeDescription.hpp"
89#include "com/sun/star/reflection/XIndirectTypeDescription.hpp"
90#include "com/sun/star/reflection/XInterfaceTypeDescription.hpp"
91#include "com/sun/star/reflection/XInterfaceMemberTypeDescription.hpp"
92#include "com/sun/star/reflection/XInterfaceMethodTypeDescription.hpp"
93#include "com/sun/star/reflection/XMethodParameter.hpp"
94
95void primeWeakMap( void)
96{
97 InitTypeDesc( com::sun::star::lang::XComponent );
98 InitTypeDesc( com::sun::star::lang::XInitialization );
99 InitTypeDesc( com::sun::star::lang::XSingleServiceFactory );
100 InitTypeDesc( com::sun::star::lang::XSingleComponentFactory );
101 InitTypeDesc( com::sun::star::lang::XMultiServiceFactory );

--- 46 unchanged lines hidden ---
94
95void primeWeakMap( void)
96{
97 InitTypeDesc( com::sun::star::lang::XComponent );
98 InitTypeDesc( com::sun::star::lang::XInitialization );
99 InitTypeDesc( com::sun::star::lang::XSingleServiceFactory );
100 InitTypeDesc( com::sun::star::lang::XSingleComponentFactory );
101 InitTypeDesc( com::sun::star::lang::XMultiServiceFactory );

--- 46 unchanged lines hidden ---