Wed, 31 Dec 2014 13:27:57 +0100
Ignore runtime configuration files generated during quality assurance.
michael@0 | 1 | /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
michael@0 | 2 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 3 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 4 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 5 | |
michael@0 | 6 | #include "nsISupports.idl" |
michael@0 | 7 | |
michael@0 | 8 | /** |
michael@0 | 9 | * Used for <scale> to listen to slider changes to avoid mutation listeners |
michael@0 | 10 | */ |
michael@0 | 11 | [scriptable, uuid(e5b3074e-ee18-4538-83b9-2487d90a2a34)] |
michael@0 | 12 | interface nsISliderListener : nsISupports |
michael@0 | 13 | { |
michael@0 | 14 | /** |
michael@0 | 15 | * Called when the current, minimum or maximum value has been changed to |
michael@0 | 16 | * newValue. The which parameter will either be 'curpos', 'minpos' or 'maxpos'. |
michael@0 | 17 | * If userChanged is true, then the user changed ths slider, otherwise it |
michael@0 | 18 | * was changed via some other means. |
michael@0 | 19 | */ |
michael@0 | 20 | void valueChanged(in AString which, in long newValue, in boolean userChanged); |
michael@0 | 21 | |
michael@0 | 22 | /** |
michael@0 | 23 | * Called when the user begins or ends dragging the thumb. |
michael@0 | 24 | */ |
michael@0 | 25 | void dragStateChanged(in boolean isDragging); |
michael@0 | 26 | }; |