summaryrefslogtreecommitdiffstats
path: root/accessible/ipc/win/COMPtrTypes.h
blob: 3478bd5ca75f8877a33755edae654852a78c68b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifndef mozilla_a11y_COMPtrTypes_h
#define mozilla_a11y_COMPtrTypes_h

#include "mozilla/mscom/COMPtrHolder.h"

#include <oleacc.h>

namespace mozilla {
namespace a11y {

typedef mozilla::mscom::COMPtrHolder<IAccessible, IID_IAccessible> IAccessibleHolder;

class Accessible;

IAccessibleHolder
CreateHolderFromAccessible(Accessible* aAccToWrap);

} // namespace a11y
} // namespace mozilla

#endif // mozilla_a11y_COMPtrTypes_h