michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef _nsAccessibleRelation_H_ michael@0: #define _nsAccessibleRelation_H_ michael@0: michael@0: #include "nsIAccessibleRelation.h" michael@0: michael@0: #include "nsCOMPtr.h" michael@0: #include "nsIMutableArray.h" michael@0: #include "mozilla/Attributes.h" michael@0: michael@0: namespace mozilla { michael@0: namespace a11y { michael@0: michael@0: class Relation; michael@0: michael@0: /** michael@0: * Class represents an accessible relation. michael@0: */ michael@0: class nsAccessibleRelation MOZ_FINAL : public nsIAccessibleRelation michael@0: { michael@0: public: michael@0: nsAccessibleRelation(uint32_t aType, Relation* aRel); michael@0: michael@0: NS_DECL_ISUPPORTS michael@0: NS_DECL_NSIACCESSIBLERELATION michael@0: michael@0: private: michael@0: nsAccessibleRelation(); michael@0: nsAccessibleRelation(const nsAccessibleRelation&); michael@0: nsAccessibleRelation& operator = (const nsAccessibleRelation&); michael@0: michael@0: uint32_t mType; michael@0: nsCOMPtr mTargets; michael@0: }; michael@0: michael@0: } // namespace a11y michael@0: } // namespace mozilla michael@0: michael@0: #endif