1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef __MAI_HYPERLINK_H__
8 #define __MAI_HYPERLINK_H__
11 #include "mozilla/a11y/Accessible.h"
12 #include "mozilla/a11y/LocalAccessible.h"
13 #include "mozilla/a11y/RemoteAccessible.h"
17 typedef struct _AtkHyperlink AtkHyperlink
;
23 * MaiHyperlink is a auxiliary class for MaiInterfaceHyperText.
28 explicit MaiHyperlink(Accessible
* aHyperLink
);
32 AtkHyperlink
* GetAtkHyperlink() const { return mMaiAtkHyperlink
; }
37 NS_ASSERTION(mHyperlink
->IsLink(), "Why isn't it a link!");
42 Accessible
* mHyperlink
;
43 AtkHyperlink
* mMaiAtkHyperlink
;
47 } // namespace mozilla
49 #endif /* __MAI_HYPERLINK_H__ */