1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Added 'final' keyword to a lot of classes from which you really shouldn't be inheriting!

This commit is contained in:
jules 2017-10-09 12:38:06 +01:00
parent 6e23c4806b
commit 970eda679e
39 changed files with 68 additions and 68 deletions

View file

@ -34,7 +34,7 @@ namespace juce
This object can either be used to represent one of the standard mouse
cursor shapes, or a custom one generated from an image.
*/
class JUCE_API MouseCursor
class JUCE_API MouseCursor final
{
public:
//==============================================================================

View file

@ -34,7 +34,7 @@ namespace juce
@see MouseListener, Component::mouseMove, Component::mouseEnter, Component::mouseExit,
Component::mouseDown, Component::mouseUp, Component::mouseDrag
*/
class JUCE_API MouseEvent
class JUCE_API MouseEvent final
{
public:
//==============================================================================
@ -378,7 +378,7 @@ private:
@see MouseListener, MouseEvent
*/
struct MouseWheelDetails
struct MouseWheelDetails final
{
//==============================================================================
/** The amount that the wheel has been moved in the X axis.
@ -418,7 +418,7 @@ struct MouseWheelDetails
@see MouseListener, MouseEvent
*/
struct PenDetails
struct PenDetails final
{
/**
The rotation of the pen device in radians. Indicates the clockwise rotation, or twist,

View file

@ -47,7 +47,7 @@ namespace juce
@see MouseEvent
*/
class JUCE_API MouseInputSource
class JUCE_API MouseInputSource final
{
public:
/** Possible mouse input sources. */