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 : #include "AccessibilityHints.hxx"
21 :
22 : using namespace ::com::sun::star;
23 :
24 : // ScAccWinFocusLostHint - the current window lost its focus (to another application, view or document)
25 :
26 20 : ScAccWinFocusLostHint::ScAccWinFocusLostHint(
27 : const uno::Reference< uno::XInterface >& xOld )
28 : :
29 20 : xOldAccessible(xOld)
30 : {
31 20 : }
32 :
33 20 : ScAccWinFocusLostHint::~ScAccWinFocusLostHint()
34 : {
35 20 : }
36 :
37 : // ScAccWinFocusGotHint - the window got the focus (from another application, view or document)
38 :
39 0 : ScAccWinFocusGotHint::ScAccWinFocusGotHint(
40 : const uno::Reference< uno::XInterface >& xNew )
41 : :
42 0 : xNewAccessible(xNew)
43 : {
44 0 : }
45 :
46 0 : ScAccWinFocusGotHint::~ScAccWinFocusGotHint()
47 : {
48 0 : }
49 :
50 : // ScAccGridWinFocusLostHint - the current grid window lost its focus (to another application, view or document)
51 :
52 4 : ScAccGridWinFocusLostHint::ScAccGridWinFocusLostHint(ScSplitPos eOld,
53 : const uno::Reference< uno::XInterface >& xOld )
54 : :
55 : ScAccWinFocusLostHint(xOld),
56 4 : eOldGridWin(eOld)
57 : {
58 4 : }
59 :
60 4 : ScAccGridWinFocusLostHint::~ScAccGridWinFocusLostHint()
61 : {
62 4 : }
63 :
64 : // ScAccGridWinFocusGotHint - the grid window got the focus (from another application, view or document)
65 :
66 0 : ScAccGridWinFocusGotHint::ScAccGridWinFocusGotHint(ScSplitPos eNew,
67 : const uno::Reference< uno::XInterface >& xNew )
68 : :
69 : ScAccWinFocusGotHint(xNew),
70 0 : eNewGridWin(eNew)
71 : {
72 0 : }
73 :
74 0 : ScAccGridWinFocusGotHint::~ScAccGridWinFocusGotHint()
75 : {
76 228 : }
77 :
78 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|