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

Improvements to the Analytics class

This commit is contained in:
Tom Poole 2017-12-19 12:08:50 +00:00
parent cff37f5b6a
commit beec82b8cb
17 changed files with 140 additions and 37 deletions

View file

@ -51,7 +51,8 @@ public:
*/
ButtonTracker (Button& buttonToTrack,
const String& triggeredEventName,
const StringPairArray& triggeredEventParameters = {});
const StringPairArray& triggeredEventParameters = {},
int triggeredEventType = 0);
/** Destructor. */
~ButtonTracker();
@ -63,6 +64,7 @@ private:
Button& button;
const String eventName;
const StringPairArray eventParameters;
const int eventType;
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ButtonTracker)
};