Dactyloidae/accessible/xpcom/xpcAccessibleValue.h
Moonchild 8c395520d9 Issue #1656 - Part 1: Nuke most vim config lines in the tree.
Since these are just interpreted comments, there's 0 impact on actual code.
This removes all lines that match /* vim: set(.*)tw=80: */ with S&R -- there are
a few others scattered around which will be removed manually in a second part.
2020-09-25 22:04:12 +08:00

42 lines
1.2 KiB
C++

/* -*- 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_xpcAccessibleValue_h_
#define mozilla_a11y_xpcAccessibleValue_h_
#include "nsIAccessibleValue.h"
namespace mozilla {
namespace a11y {
class Accessible;
/**
* XPCOM nsIAccessibleValue interface implementation, used by
* xpcAccessibleGeneric class.
*/
class xpcAccessibleValue : public nsIAccessibleValue
{
public:
NS_IMETHOD GetMaximumValue(double* aValue) final override;
NS_IMETHOD GetMinimumValue(double* aValue) final override;
NS_IMETHOD GetCurrentValue(double* aValue) final override;
NS_IMETHOD SetCurrentValue(double aValue) final override;
NS_IMETHOD GetMinimumIncrement(double* aMinIncrement) final override;
protected:
xpcAccessibleValue() { }
virtual ~xpcAccessibleValue() {}
private:
AccessibleOrProxy Intl();
xpcAccessibleValue(const xpcAccessibleValue&) = delete;
xpcAccessibleValue& operator =(const xpcAccessibleValue&) = delete;
};
} // namespace a11y
} // namespace mozilla
#endif