All pastes #634001 Raw Edit

csmanx

public text v1 · immutable
#634001 ·published 2007-07-26 02:42 UTC
rendered paste body
#ifndef _COM_SUN_STAR_SECURITY_XACCESSCONTROLLER_HPP_
#define _COM_SUN_STAR_SECURITY_XACCESSCONTROLLER_HPP_

#ifndef _SAL_CONFIG_H_
#include "sal/config.h"
#endif

#ifndef _COM_SUN_STAR_SECURITY_XACCESSCONTROLLER_HDL_
#include "com/sun/star/security/XAccessController.hdl"
#endif

#ifndef _COM_SUN_STAR_UNO_RUNTIMEEXCEPTION_HPP_
#include "com/sun/star/uno/RuntimeException.hpp"
#endif
#ifndef _COM_SUN_STAR_SECURITY_ACCESSCONTROLEXCEPTION_HPP_
#include "com/sun/star/security/AccessControlException.hpp"
#endif
#ifndef _COM_SUN_STAR_SECURITY_XACCESSCONTROLCONTEXT_HPP_
#include "com/sun/star/security/XAccessControlContext.hpp"
#endif
#ifndef _COM_SUN_STAR_UNO_EXCEPTION_HPP_
#include "com/sun/star/uno/Exception.hpp"
#endif
#ifndef _COM_SUN_STAR_SECURITY_XACTION_HPP_
#include "com/sun/star/security/XAction.hpp"
#endif
#ifndef _COM_SUN_STAR_UNO_XINTERFACE_HPP_
#include "com/sun/star/uno/XInterface.hpp"
#endif
#ifndef _COM_SUN_STAR_UNO_ANY_HXX_
#include "com/sun/star/uno/Any.hxx"
#endif
#ifndef _COM_SUN_STAR_UNO_REFERENCE_HXX_
#include "com/sun/star/uno/Reference.hxx"
#endif
#ifndef _COM_SUN_STAR_UNO_TYPE_HXX_
#include "com/sun/star/uno/Type.hxx"
#endif
#ifndef _OSL_MUTEX_HXX_
#include "osl/mutex.hxx"
#endif

inline const ::com::sun::star::uno::Type& SAL_CALL getCppuType( const ::com::sun::star::uno::Reference< ::com::sun::star::security::XAccessController >* ) SAL_THROW( () )
{
    static typelib_TypeDescriptionReference * the_type = 0;
    if ( !the_type )
    {
        typelib_static_type_init( &the_type, typelib_TypeClass_INTERFACE, "com.sun.star.security.XAccessController" );
    }
    return * reinterpret_cast< ::com::sun::star::uno::Type * >( &the_type );
}

::com::sun::star::uno::Type const & ::com::sun::star::security::XAccessController::static_type(void *) {
    return ::getCppuType(static_cast< ::com::sun::star::uno::Reference< ::com::sun::star::security::XAccessController > * >(0));
}

#endif // _COM_SUN_STAR_SECURITY_XACCESSCONTROLLER_HPP_