1*61161268SAriel Constenla-Haile/************************************************************** 2*61161268SAriel Constenla-Haile * 3*61161268SAriel Constenla-Haile * Licensed to the Apache Software Foundation (ASF) under one 4*61161268SAriel Constenla-Haile * or more contributor license agreements. See the NOTICE file 5*61161268SAriel Constenla-Haile * distributed with this work for additional information 6*61161268SAriel Constenla-Haile * regarding copyright ownership. The ASF licenses this file 7*61161268SAriel Constenla-Haile * to you under the Apache License, Version 2.0 (the 8*61161268SAriel Constenla-Haile * "License"); you may not use this file except in compliance 9*61161268SAriel Constenla-Haile * with the License. You may obtain a copy of the License at 10*61161268SAriel Constenla-Haile * 11*61161268SAriel Constenla-Haile * http://www.apache.org/licenses/LICENSE-2.0 12*61161268SAriel Constenla-Haile * 13*61161268SAriel Constenla-Haile * Unless required by applicable law or agreed to in writing, 14*61161268SAriel Constenla-Haile * software distributed under the License is distributed on an 15*61161268SAriel Constenla-Haile * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*61161268SAriel Constenla-Haile * KIND, either express or implied. See the License for the 17*61161268SAriel Constenla-Haile * specific language governing permissions and limitations 18*61161268SAriel Constenla-Haile * under the License. 19*61161268SAriel Constenla-Haile * 20*61161268SAriel Constenla-Haile *************************************************************/ 21*61161268SAriel Constenla-Haile 22*61161268SAriel Constenla-Haile#ifndef __com_sun_star_awt_MessageBoxCommand_idl__ 23*61161268SAriel Constenla-Haile#define __com_sun_star_awt_MessageBoxCommand_idl__ 24*61161268SAriel Constenla-Haile 25*61161268SAriel Constenla-Hailemodule com { module sun { module star { module awt { 26*61161268SAriel Constenla-Haile 27*61161268SAriel Constenla-Haile/** These constants are used to specify a result of executing a <type>XMessageBox</type>. 28*61161268SAriel Constenla-Haile */ 29*61161268SAriel Constenla-Haileconstants MessageBoxResults 30*61161268SAriel Constenla-Haile{ 31*61161268SAriel Constenla-Haile /** The user canceled the <type>XMessageBox</type>, by pressing "Cancel" or "Abort" button. 32*61161268SAriel Constenla-Haile */ 33*61161268SAriel Constenla-Haile const short CANCEL = 0; 34*61161268SAriel Constenla-Haile 35*61161268SAriel Constenla-Haile /** The user pressed the "Ok" button. 36*61161268SAriel Constenla-Haile */ 37*61161268SAriel Constenla-Haile const short OK = 1; 38*61161268SAriel Constenla-Haile 39*61161268SAriel Constenla-Haile /** The user pressed the "Yes" button. 40*61161268SAriel Constenla-Haile */ 41*61161268SAriel Constenla-Haile const short YES = 2; 42*61161268SAriel Constenla-Haile 43*61161268SAriel Constenla-Haile /** The user pressed the "No" button. 44*61161268SAriel Constenla-Haile */ 45*61161268SAriel Constenla-Haile const short NO = 3; 46*61161268SAriel Constenla-Haile 47*61161268SAriel Constenla-Haile /** The user pressed the "Retry" button. 48*61161268SAriel Constenla-Haile */ 49*61161268SAriel Constenla-Haile const short RETRY = 4; 50*61161268SAriel Constenla-Haile 51*61161268SAriel Constenla-Haile /** The user pressed the "Ignore" button. 52*61161268SAriel Constenla-Haile */ 53*61161268SAriel Constenla-Haile const short IGNORE = 5; 54*61161268SAriel Constenla-Haile}; 55*61161268SAriel Constenla-Haile 56*61161268SAriel Constenla-Haile}; }; }; }; 57*61161268SAriel Constenla-Haile 58*61161268SAriel Constenla-Haile#endif 59