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 : // -----------------------------------------------------------------------
25 :
26 0 : TYPEINIT1(ScAccWinFocusLostHint, SfxHint);
27 :
28 : // -----------------------------------------------------------------------
29 : // ScAccWinFocusLostHint - the current window lost its focus (to another application, view or document)
30 : // -----------------------------------------------------------------------
31 :
32 0 : ScAccWinFocusLostHint::ScAccWinFocusLostHint(
33 : const uno::Reference< uno::XInterface >& xOld )
34 : :
35 0 : xOldAccessible(xOld)
36 : {
37 0 : }
38 :
39 0 : ScAccWinFocusLostHint::~ScAccWinFocusLostHint()
40 : {
41 0 : }
42 :
43 : // -----------------------------------------------------------------------
44 :
45 0 : TYPEINIT1(ScAccWinFocusGotHint, SfxHint);
46 :
47 : // -----------------------------------------------------------------------
48 : // ScAccWinFocusGotHint - the window got the focus (from another application, view or document)
49 : // -----------------------------------------------------------------------
50 :
51 0 : ScAccWinFocusGotHint::ScAccWinFocusGotHint(
52 : const uno::Reference< uno::XInterface >& xNew )
53 : :
54 0 : xNewAccessible(xNew)
55 : {
56 0 : }
57 :
58 0 : ScAccWinFocusGotHint::~ScAccWinFocusGotHint()
59 : {
60 0 : }
61 : // -----------------------------------------------------------------------
62 :
63 0 : TYPEINIT1(ScAccGridWinFocusLostHint, SfxHint);
64 :
65 : // -----------------------------------------------------------------------
66 : // ScAccGridWinFocusLostHint - the current grid window lost its focus (to another application, view or document)
67 : // -----------------------------------------------------------------------
68 :
69 0 : ScAccGridWinFocusLostHint::ScAccGridWinFocusLostHint(ScSplitPos eOld,
70 : const uno::Reference< uno::XInterface >& xOld )
71 : :
72 : ScAccWinFocusLostHint(xOld),
73 0 : eOldGridWin(eOld)
74 : {
75 0 : }
76 :
77 0 : ScAccGridWinFocusLostHint::~ScAccGridWinFocusLostHint()
78 : {
79 0 : }
80 :
81 : // -----------------------------------------------------------------------
82 :
83 0 : TYPEINIT1(ScAccGridWinFocusGotHint, SfxHint);
84 :
85 : // -----------------------------------------------------------------------
86 : // ScAccGridWinFocusGotHint - the grid window got the focus (from another application, view or document)
87 : // -----------------------------------------------------------------------
88 :
89 0 : ScAccGridWinFocusGotHint::ScAccGridWinFocusGotHint(ScSplitPos eNew,
90 : const uno::Reference< uno::XInterface >& xNew )
91 : :
92 : ScAccWinFocusGotHint(xNew),
93 0 : eNewGridWin(eNew)
94 : {
95 0 : }
96 :
97 0 : ScAccGridWinFocusGotHint::~ScAccGridWinFocusGotHint()
98 : {
99 15 : }
100 :
101 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|