Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
5 : * This Source Code Form is subject to the terms of the Mozilla Public
6 : * License, v. 2.0. If a copy of the MPL was not distributed with this
7 : * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 : *
9 : * This file incorporates work covered by the following license notice:
10 : *
11 : * Licensed to the Apache Software Foundation (ASF) under one or more
12 : * contributor license agreements. See the NOTICE file distributed
13 : * with this work for additional information regarding copyright
14 : * ownership. The ASF licenses this file to you under the Apache
15 : * License, Version 2.0 (the "License"); you may not use this file
16 : * except in compliance with the License. You may obtain a copy of
17 : * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 : */
19 :
20 : #ifndef _VCL_APPTYPES_HXX
21 : #define _VCL_APPTYPES_HXX
22 :
23 : #include <tools/solar.h>
24 : #include <vcl/dllapi.h>
25 : #include <tools/rtti.hxx>
26 :
27 : // ---------------------
28 : // - Application-Types -
29 : // ---------------------
30 :
31 : #define EXC_RSCNOTLOADED ((sal_uInt16)0x0100)
32 : #define EXC_SYSOBJNOTCREATED ((sal_uInt16)0x0200)
33 : #define EXC_SYSTEM ((sal_uInt16)0x0300)
34 : #define EXC_DISPLAY ((sal_uInt16)0x0400)
35 : #define EXC_REMOTE ((sal_uInt16)0x0500)
36 : #define EXC_USER ((sal_uInt16)0x1000)
37 : #define EXC_MAJORTYPE ((sal_uInt16)0xFF00)
38 : #define EXC_MINORTYPE ((sal_uInt16)0x00FF)
39 :
40 : #define UNIQUEID_SV_BEGIN 64000
41 :
42 : class VCL_DLLPUBLIC ApplicationProperty
43 : {
44 : public:
45 0 : virtual ~ApplicationProperty() {}
46 : TYPEINFO();
47 : };
48 :
49 : #define VCL_INPUT_MOUSE 0x0001
50 : #define VCL_INPUT_KEYBOARD 0x0002
51 : #define VCL_INPUT_PAINT 0x0004
52 : #define VCL_INPUT_TIMER 0x0008
53 : #define VCL_INPUT_OTHER 0x0010
54 : #define VCL_INPUT_APPEVENT 0x0020
55 : #define VCL_INPUT_MOUSEANDKEYBOARD (VCL_INPUT_MOUSE | VCL_INPUT_KEYBOARD)
56 : #define VCL_INPUT_ANY (VCL_INPUT_MOUSEANDKEYBOARD | VCL_INPUT_PAINT | VCL_INPUT_TIMER | VCL_INPUT_OTHER | VCL_INPUT_APPEVENT)
57 :
58 : #endif // _VCL_APPTYPES_HXX
59 :
60 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|