161161268SAriel Constenla-Haile/************************************************************** 261161268SAriel Constenla-Haile * 361161268SAriel Constenla-Haile * Licensed to the Apache Software Foundation (ASF) under one 461161268SAriel Constenla-Haile * or more contributor license agreements. See the NOTICE file 561161268SAriel Constenla-Haile * distributed with this work for additional information 661161268SAriel Constenla-Haile * regarding copyright ownership. The ASF licenses this file 761161268SAriel Constenla-Haile * to you under the Apache License, Version 2.0 (the 861161268SAriel Constenla-Haile * "License"); you may not use this file except in compliance 961161268SAriel Constenla-Haile * with the License. You may obtain a copy of the License at 1061161268SAriel Constenla-Haile * 1161161268SAriel Constenla-Haile * http://www.apache.org/licenses/LICENSE-2.0 1261161268SAriel Constenla-Haile * 1361161268SAriel Constenla-Haile * Unless required by applicable law or agreed to in writing, 1461161268SAriel Constenla-Haile * software distributed under the License is distributed on an 1561161268SAriel Constenla-Haile * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 1661161268SAriel Constenla-Haile * KIND, either express or implied. See the License for the 1761161268SAriel Constenla-Haile * specific language governing permissions and limitations 1861161268SAriel Constenla-Haile * under the License. 1961161268SAriel Constenla-Haile * 2061161268SAriel Constenla-Haile *************************************************************/ 2161161268SAriel Constenla-Haile 22*a942a490SAriel Constenla-Haile#ifndef __com_sun_star_awt_MessageBoxResults_idl__ 23*a942a490SAriel Constenla-Haile#define __com_sun_star_awt_MessageBoxResults_idl__ 2461161268SAriel Constenla-Haile 2561161268SAriel Constenla-Hailemodule com { module sun { module star { module awt { 2661161268SAriel Constenla-Haile 2761161268SAriel Constenla-Haile/** These constants are used to specify a result of executing a <type>XMessageBox</type>. 2861161268SAriel Constenla-Haile */ 2961161268SAriel Constenla-Haileconstants MessageBoxResults 3061161268SAriel Constenla-Haile{ 3161161268SAriel Constenla-Haile /** The user canceled the <type>XMessageBox</type>, by pressing "Cancel" or "Abort" button. 3261161268SAriel Constenla-Haile */ 3361161268SAriel Constenla-Haile const short CANCEL = 0; 3461161268SAriel Constenla-Haile 3561161268SAriel Constenla-Haile /** The user pressed the "Ok" button. 3661161268SAriel Constenla-Haile */ 3761161268SAriel Constenla-Haile const short OK = 1; 3861161268SAriel Constenla-Haile 3961161268SAriel Constenla-Haile /** The user pressed the "Yes" button. 4061161268SAriel Constenla-Haile */ 4161161268SAriel Constenla-Haile const short YES = 2; 4261161268SAriel Constenla-Haile 4361161268SAriel Constenla-Haile /** The user pressed the "No" button. 4461161268SAriel Constenla-Haile */ 4561161268SAriel Constenla-Haile const short NO = 3; 4661161268SAriel Constenla-Haile 4761161268SAriel Constenla-Haile /** The user pressed the "Retry" button. 4861161268SAriel Constenla-Haile */ 4961161268SAriel Constenla-Haile const short RETRY = 4; 5061161268SAriel Constenla-Haile 5161161268SAriel Constenla-Haile /** The user pressed the "Ignore" button. 5261161268SAriel Constenla-Haile */ 5361161268SAriel Constenla-Haile const short IGNORE = 5; 5461161268SAriel Constenla-Haile}; 5561161268SAriel Constenla-Haile 5661161268SAriel Constenla-Haile}; }; }; }; 5761161268SAriel Constenla-Haile 5861161268SAriel Constenla-Haile#endif 59