diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-02-06 12:50:45 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-02-06 12:55:43 +1100 |
commit | 249e3d6d1927705aac81fa7f40fccc5c82be43d7 (patch) | |
tree | 0ef2341deed4549db48c1ddd4bd54312bc6346a6 /include/vcl/exceptiontypes.hxx | |
parent | 9739aa9f40367a51dd71ce23f091e970d98947d5 (diff) |
vcl: split exception types from input types
Having them in the file apptypes.hxx isn't necessary helpful, IMO so
I've split the types into inputtypes.hxx and exceptiontypes.hxx
Change-Id: I89a1ff168c3ae276b2f5486669d4ec2dda062d57
Diffstat (limited to 'include/vcl/exceptiontypes.hxx')
-rw-r--r-- | include/vcl/exceptiontypes.hxx | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/include/vcl/exceptiontypes.hxx b/include/vcl/exceptiontypes.hxx new file mode 100644 index 000000000000..92df26636b7a --- /dev/null +++ b/include/vcl/exceptiontypes.hxx @@ -0,0 +1,31 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + */ + +#ifndef INCLUDED_VCL_EXCEPTIONTYPES_HXX +#define INCLUDED_VCL_EXCEPTIONTYPES_HXX + +#define EXC_RSCNOTLOADED ((sal_uInt16)0x0100) +#define EXC_SYSTEM ((sal_uInt16)0x0300) +#define EXC_DISPLAY ((sal_uInt16)0x0400) +#define EXC_MAJORTYPE ((sal_uInt16)0xFF00) +#define EXC_MINORTYPE ((sal_uInt16)0x00FF) + +#endif // INCLUDED_VCL_EXCEPTIONTYPES_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |