History

initial cut at some UserActivities for the bubble

David Kelly committed 9 years ago

Commit 37b738f1 parent b6b2f923 files · +14 −2Browse files

Showing the changes to libraries/networking/src/UserActivityLoggerScriptingInterface.cpp (1 of 3 files). Show all

Unified · Split

libraries/networking/src/UserActivityLoggerScriptingInterface.cpp+9−1
@@ -56,7 +56,7 @@ void UserActivityLoggerScriptingInterface::palAction(QString action, QString tar · 55 unmodified lines
5656 }
5757
5858 void UserActivityLoggerScriptingInterface::palOpened(float secondsOpened) {
59− doLogAction("pal_opened", {
59+ doLogAction("pal_opened", {
6060 { "seconds_opened", secondsOpened }
6161 });
6262 }
@@ -71,6 +71,14 @@ void UserActivityLoggerScriptingInterface::makeUserConnection(QString otherID, b · 8 unmodified lines
7171 doLogAction("makeUserConnection", payload);
7272 }
7373
74+void UserActivityLoggerScriptingInterface::bubbleToggled(bool newValue) {
75+ doLogAction(newValue ? "bubbleOn" : "bubbleOff");
76+}
77+
78+void UserActivityLoggerScriptingInterface::bubbleActivated() {
79+ doLogAction("bubbleActivated");
80+}
81+
7482 void UserActivityLoggerScriptingInterface::logAction(QString action, QVariantMap details) {
7583 doLogAction(action, QJsonObject::fromVariantMap(details));
7684 }