summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star/awt/MessageBoxButtons.idl
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2006-12-01 14:10:11 +0000
committerRüdiger Timm <rt@openoffice.org>2006-12-01 14:10:11 +0000
commitd78ba28f6388b9ae0eea0bd57cc36c804f83577c (patch)
tree1cc902ea60924be66611a874569ad8d1afffded4 /offapi/com/sun/star/awt/MessageBoxButtons.idl
parente5178497b5c1ab7294acbe6c361624706e0dc064 (diff)
INTEGRATION: CWS fwk52 (1.1.2); FILE ADDED
2006/10/09 12:45:46 cd 1.1.2.1: #i70233# Added factory interface for message boxes
Diffstat (limited to 'offapi/com/sun/star/awt/MessageBoxButtons.idl')
-rw-r--r--offapi/com/sun/star/awt/MessageBoxButtons.idl105
1 files changed, 105 insertions, 0 deletions
diff --git a/offapi/com/sun/star/awt/MessageBoxButtons.idl b/offapi/com/sun/star/awt/MessageBoxButtons.idl
new file mode 100644
index 000000000000..5b33f3feb456
--- /dev/null
+++ b/offapi/com/sun/star/awt/MessageBoxButtons.idl
@@ -0,0 +1,105 @@
+/*************************************************************************
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: MessageBoxButtons.idl,v $
+ *
+ * $Revision: 1.2 $
+ *
+ * last change: $Author: rt $ $Date: 2006-12-01 15:10:11 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2005 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_awt_MessageBoxButtons_idl__
+#define __com_sun_star_awt_MessageBoxButtons_idl__
+
+//=============================================================================
+
+ module com { module sun { module star { module awt {
+
+//=============================================================================
+
+/** defines constants for the possible message box button
+ combinations.
+
+ */
+constants MessageBoxButtons
+{
+ //-------------------------------------------------------------------------
+
+ /** specifies a message with "OK" button.
+ */
+ const long BUTTONS_OK = 1;
+
+ /** specifies a message box with "OK" and "CANCEL" button.
+ */
+ const long BUTTONS_OK_CANCEL = 2;
+
+ /** specifies a message box with "YES" and "NO" button.
+ */
+ const long BUTTONS_YES_NO = 3;
+
+ /** specifies a message box with "YES", "NO" and "CANCEL" button.
+ */
+ const long BUTTONS_YES_NO_CANCEL = 4;
+
+ /** specifies a message box with "RETRY" and "CANCEL" button.
+ */
+ const long BUTTONS_RETRY_CANCEL = 5;
+
+ /** specifies a message box with "ABORT", "IGNORE" and "RETRY" button.
+ */
+ const long BUTTONS_ABORT_IGNORE_RETRY = 6;
+
+ /** specifies that OK is the default button.
+ */
+ const long DEFAULT_BUTTON_OK = 0x10000;
+
+ /** specifies that CANCEL is the default button.
+ */
+ const long DEFAULT_BUTTON_CANCEL = 0x20000;
+
+ /** specifies that RETRY is the default button.
+ */
+ const long DEFAULT_BUTTON_RETRY = 0x30000;
+
+ /** specifies that YES is the default button.
+ */
+ const long DEFAULT_BUTTON_YES = 0x40000;
+
+ /** specifies that NO is the default button.
+ */
+ const long DEFAULT_BUTTON_NO = 0x50000;
+
+ /** specifies that IGNORE is the default button.
+ */
+ const long DEFAULT_BUTTON_IGNORE = 0x60000;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif