/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
class ContentResultSetWrapperListener; class ContentResultSetWrapper
: public cppu::OWeakObject
, public css::lang::XComponent
, public css::sdbc::XCloseable
, public css::sdbc::XResultSetMetaDataSupplier
, public css::beans::XPropertySet
, public css::ucb::XContentAccess
, public css::sdbc::XResultSet
, public css::sdbc::XRow
{ protected: typedef comphelper::OMultiTypeInterfaceContainerHelperVar4<OUString, css::beans::XPropertyChangeListener>
PropertyChangeListenerContainer_Impl; typedef comphelper::OMultiTypeInterfaceContainerHelperVar4<OUString, css::beans::XVetoableChangeListener>
VetoableChangeListenerContainer_Impl;
//members
//my Mutex
std::mutex m_aMutex;
//different Interfaces from Origin:
css::uno::Reference< css::sdbc::XResultSet >
m_xResultSetOrigin;
css::uno::Reference< css::sdbc::XRow >
m_xRowOrigin; //XRow-interface from m_xOrigin //!! call impl_init_xRowOrigin() bevor you access this member
css::uno::Reference< css::ucb::XContentAccess >
m_xContentAccessOrigin; //XContentAccess-interface from m_xOrigin //!! call impl_init_xContentAccessOrigin() bevor you access this member
css::uno::Reference< css::beans::XPropertySet >
m_xPropertySetOrigin; //XPropertySet-interface from m_xOrigin //!! call impl_init_xPropertySetOrigin() bevor you access this member
css::uno::Reference< css::beans::XPropertySetInfo >
m_xPropertySetInfo; //call impl_initPropertySetInfo() bevor you access this member
class ContentResultSetWrapperListener
: public cppu::OWeakObject
, public css::beans::XPropertyChangeListener
, public css::beans::XVetoableChangeListener
{
ContentResultSetWrapper* m_pOwner;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.