1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #ifndef _nsAccessibleRelation_H_
7 #define _nsAccessibleRelation_H_
9 #include "nsIAccessibleRelation.h"
13 #include "nsIMutableArray.h"
14 #include "mozilla/Attributes.h"
15 #include "mozilla/a11y/RemoteAccessible.h"
23 * Class represents an accessible relation.
25 class nsAccessibleRelation final
: public nsIAccessibleRelation
{
27 nsAccessibleRelation(uint32_t aType
, Relation
* aRel
);
30 NS_DECL_NSIACCESSIBLERELATION
33 nsAccessibleRelation();
34 ~nsAccessibleRelation();
36 nsAccessibleRelation(const nsAccessibleRelation
&);
37 nsAccessibleRelation
& operator=(const nsAccessibleRelation
&);
40 nsCOMPtr
<nsIMutableArray
> mTargets
;
44 } // namespace mozilla