1281431dbSOliver-Rainer Wittmann /************************************************************** 2281431dbSOliver-Rainer Wittmann * 3281431dbSOliver-Rainer Wittmann * Licensed to the Apache Software Foundation (ASF) under one 4281431dbSOliver-Rainer Wittmann * or more contributor license agreements. See the NOTICE file 5281431dbSOliver-Rainer Wittmann * distributed with this work for additional information 6281431dbSOliver-Rainer Wittmann * regarding copyright ownership. The ASF licenses this file 7281431dbSOliver-Rainer Wittmann * to you under the Apache License, Version 2.0 (the 8281431dbSOliver-Rainer Wittmann * "License"); you may not use this file except in compliance 9281431dbSOliver-Rainer Wittmann * with the License. You may obtain a copy of the License at 10281431dbSOliver-Rainer Wittmann * 11281431dbSOliver-Rainer Wittmann * http://www.apache.org/licenses/LICENSE-2.0 12281431dbSOliver-Rainer Wittmann * 13281431dbSOliver-Rainer Wittmann * Unless required by applicable law or agreed to in writing, 14281431dbSOliver-Rainer Wittmann * software distributed under the License is distributed on an 15281431dbSOliver-Rainer Wittmann * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16281431dbSOliver-Rainer Wittmann * KIND, either express or implied. See the License for the 17281431dbSOliver-Rainer Wittmann * specific language governing permissions and limitations 18281431dbSOliver-Rainer Wittmann * under the License. 19281431dbSOliver-Rainer Wittmann * 20281431dbSOliver-Rainer Wittmann *************************************************************/ 21281431dbSOliver-Rainer Wittmann 22281431dbSOliver-Rainer Wittmann #ifndef INCLUDED_DP_GUI_HANDLEVERSIONEXCEPTION_HXX 23281431dbSOliver-Rainer Wittmann #define INCLUDED_DP_GUI_HANDLEVERSIONEXCEPTION_HXX 24281431dbSOliver-Rainer Wittmann 25fd6d8138SAndre Fischer #include "dp_gui_api.hxx" 26281431dbSOliver-Rainer Wittmann #include "com/sun/star/deployment/VersionException.hpp" 27281431dbSOliver-Rainer Wittmann 28fd6d8138SAndre Fischer namespace dp_gui{ class DialogHelper; } 29fd6d8138SAndre Fischer 30281431dbSOliver-Rainer Wittmann 31fd6d8138SAndre Fischer extern "C" { 32281431dbSOliver-Rainer Wittmann 33*a799cd1bSOliver-Rainer Wittmann // optional parameter <bChooseNewestVersion> indicates, if 34*a799cd1bSOliver-Rainer Wittmann // the newest version is chosen without user interaction. 35fd6d8138SAndre Fischer DESKTOP_DEPLOYMENTGUI_DLLPUBLIC 36fd6d8138SAndre Fischer bool handleVersionException( 37fd6d8138SAndre Fischer com::sun::star::deployment::VersionException verExc, 38*a799cd1bSOliver-Rainer Wittmann dp_gui::DialogHelper* pDialogHelper = 0, 39*a799cd1bSOliver-Rainer Wittmann const bool bChooseNewestVersion = false ); 40281431dbSOliver-Rainer Wittmann } 41281431dbSOliver-Rainer Wittmann 42281431dbSOliver-Rainer Wittmann #endif 43