mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-14 00:14:18 +00:00
Projucer: Add analytics
This commit is contained in:
parent
47af78fe0b
commit
711e75bdc8
28 changed files with 772 additions and 25 deletions
|
|
@ -28,6 +28,7 @@
|
|||
#include "jucer_Module.h"
|
||||
#include "../ProjectSaving/jucer_ProjectSaver.h"
|
||||
#include "../ProjectSaving/jucer_ProjectExport_Xcode.h"
|
||||
#include "../Application/jucer_ProjucerAnalytics.h"
|
||||
|
||||
//==============================================================================
|
||||
static var parseModuleDesc (const StringArray& lines)
|
||||
|
|
@ -799,6 +800,11 @@ void EnabledModuleList::addModule (const File& moduleFolder, bool copyLocally, b
|
|||
|
||||
for (Project::ExporterIterator exporter (project); exporter.next();)
|
||||
exporter->getPathForModuleValue (moduleID) = path.toUnixStyle();
|
||||
|
||||
StringPairArray data;
|
||||
data.set ("label", moduleID);
|
||||
|
||||
Analytics::getInstance()->logEvent ("Module Added", data, ProjucerAnalyticsEvent::projectEvent);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue