/* -*- 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 . */ #ifndef INCLUDED_FORMS_SOURCE_INC_RESETTABLE_HXX #define INCLUDED_FORMS_SOURCE_INC_RESETTABLE_HXX #include #include namespace cppu { class OWeakObject; } namespace frm { class ResetHelper { public: ResetHelper( ::cppu::OWeakObject& _parent, ::osl::Mutex& _mutex ) :m_rParent( _parent ) ,m_aResetListeners( _mutex ) { } // XReset equivalents void addResetListener( const css::uno::Reference< css::form::XResetListener >& _listener ); void removeResetListener( const css::uno::Reference< css::form::XResetListener >& _listener ); // calling listeners bool approveReset(); void notifyResetted(); void disposing(); private: ::cppu::OWeakObject& m_rParent; ::comphelper::OInterfaceContainerHelper2 m_aResetListeners; }; } // namespace frm #endif // INCLUDED_FORMS_SOURCE_INC_RESETTABLE_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ stro/cib/libreoffice-6-4'>distro/cib/libreoffice-6-4 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2015-06-11java:regulatize the order of 'final' and public/privateNoel Grandin
2014-12-16java: remove OOoRunnerLightNoel Grandin
2014-11-18java: make fields final where possibleNoel Grandin
2014-11-18java: rather use @Deprecated annotationNoel Grandin
2014-11-12Fix common typos. No automatic tools. Handmade…Andrea Gelmini
2014-09-28ridljar: Any_Test & UnoRuntime_Test (JUnit)Robert Antoni Buj i Gelonch
2014-09-25java: when rethrowing exceptions, store the original causeNoel Grandin
2014-08-20java: remove unnecessary constructor declarationsNoel Grandin
2014-08-19java: use 'Byte.valueOf' instead of 'new Byte'Noel Grandin
2014-08-19java: use 'Short.valueOf' instead of 'new Short'Noel Grandin
2014-08-19java: use 'Long.valueOf' instead of 'new Long'Noel Grandin
2014-08-19java: use 'Integer.valueOf' instead of 'new Integer'Noel Grandin
2014-08-12java: add @Override annotation to overriding methodsNoel Grandin
2014-08-08java: remove dead methodsNoel Grandin
2014-08-04java: implement optimisation in UnoRuntime#setCurrentContextNoel Grandin
2014-07-22ridljar: javadoc & Overriderbuj
2014-05-01Many spelling fixes: directories r* - z*.Pedro Giffuni
2014-01-31Silence javadoc 8 errorsStephan Bergmann
2014-01-31Remove UNOIDL "array" and "union" vaporware remnantsStephan Bergmann
2013-10-25gbuild: refactor UnoApi to remove rdb files from OUTDIRMichael Stahl
2013-08-19Rename SOLAR_JAVA to ENABLE_JAVA and HAVE_FEATURE_JAVATor Lillqvist
2013-05-15Spelling "separate" (etc) correctly is hardTor Lillqvist
2013-05-06Java cleanup, remove unnecessary @SuppressWarnings annotationsNoel Grandin
2013-04-26Java cleanup, access static methods using correct syntaxNoel Grandin
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-04-11[API CHANGE] WIP: Experimental new binary type.rdb formatStephan Bergmann
2013-04-10workaround IBM java 1.5.0 inconvertible types errorCaolán McNamara
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks
2013-02-28remove all d.lstMichael Stahl
2013-02-26odk: remove temporary Zip file gratuitous complexityMichael Stahl
2013-02-23Fix typo "sucessfully" -> "successfully"Julien Nabet
2013-01-26gbuild: fix silly "expandtabs" in makefile VIM modelinesMichael Stahl
2012-12-30add runtime deps for custom targetsDavid Tardon
2012-11-28ridljar etc.: javamaker invocations must rm -r targetdirMichael Stahl
2012-08-20Java update - fix various javadoc issuesNoel Grandin
2012-08-17gbuild: register all jarsMichael Stahl
2012-08-15gbuild: remove horrible abuses of gb_Jar_use_jars:Michael Stahl
2012-06-29ridljar: partially revert 4418ad0388b58cab6a129908f78baec5bc73906eMichael Stahl
2012-06-29Java5 update - convert code to use genericsNoel Grandin
2012-06-28remove malingering legacy RCS tags.Michael Meeks
2012-06-26re-base on ALv2 code.Michael Meeks
2012-06-21re-base on ALv2 code.Michael Meeks
2012-06-21re-base on ALv2 code.Michael Meeks