1 /************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23 24 #ifndef _VCL_APPTYPES_HXX 25 #define _VCL_APPTYPES_HXX 26 27 #include <vcl/sv.h> 28 #include <vcl/dllapi.h> 29 #include <tools/rtti.hxx> 30 31 // --------------------- 32 // - Application-Types - 33 // --------------------- 34 35 #define EXC_RSCNOTLOADED ((sal_uInt16)0x0100) 36 #define EXC_SYSOBJNOTCREATED ((sal_uInt16)0x0200) 37 #define EXC_SYSTEM ((sal_uInt16)0x0300) 38 #define EXC_DISPLAY ((sal_uInt16)0x0400) 39 #define EXC_REMOTE ((sal_uInt16)0x0500) 40 #define EXC_USER ((sal_uInt16)0x1000) 41 #define EXC_MAJORTYPE ((sal_uInt16)0xFF00) 42 #define EXC_MINORTYPE ((sal_uInt16)0x00FF) 43 44 #define UNIQUEID_SV_BEGIN 64000 45 46 class VCL_DLLPUBLIC ApplicationProperty 47 { 48 public: 49 50 TYPEINFO(); 51 }; 52 53 #define INPUT_MOUSE 0x0001 54 #define INPUT_KEYBOARD 0x0002 55 #define INPUT_PAINT 0x0004 56 #define INPUT_TIMER 0x0008 57 #define INPUT_OTHER 0x0010 58 #define INPUT_APPEVENT 0x0020 59 #define INPUT_MOUSEANDKEYBOARD (INPUT_MOUSE | INPUT_KEYBOARD) 60 #define INPUT_ANY (INPUT_MOUSEANDKEYBOARD | INPUT_PAINT | INPUT_TIMER | INPUT_OTHER | INPUT_APPEVENT) 61 62 #define DISPATCH_OPEN 0x0001 63 #define DISPATCH_PRINT 0x0002 64 #define DISPATCH_SERVER 0x0004 65 66 // -------------- 67 // - UserActive - 68 // -------------- 69 70 #define USERACTIVE_MOUSEDRAG ((sal_uInt16)0x0001) 71 #define USERACTIVE_INPUT ((sal_uInt16)0x0002) 72 #define USERACTIVE_MODALDIALOG ((sal_uInt16)0x0004) 73 #define USERACTIVE_ALL ((sal_uInt16)0xFFFF) 74 75 #endif // _VCL_APPTYPES_HXX 76