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
56}56}
57 57
58void UserActivityLoggerScriptingInterface::palOpened(float secondsOpened) {58void UserActivityLoggerScriptingInterface::palOpened(float secondsOpened) {
59 doLogAction("pal_opened", { 59 doLogAction("pal_opened", {
60 { "seconds_opened", secondsOpened }60 { "seconds_opened", secondsOpened }
61 });61 });
62}62}
@@ -71,6 +71,14 @@ void UserActivityLoggerScriptingInterface::makeUserConnection(QString otherID, b · 8 unmodified lines
71 doLogAction("makeUserConnection", payload);71 doLogAction("makeUserConnection", payload);
72}72}
73 73
74void UserActivityLoggerScriptingInterface::bubbleToggled(bool newValue) {
75 doLogAction(newValue ? "bubbleOn" : "bubbleOff");
76}
77
78void UserActivityLoggerScriptingInterface::bubbleActivated() {
79 doLogAction("bubbleActivated");
80}
81
74void UserActivityLoggerScriptingInterface::logAction(QString action, QVariantMap details) {82void UserActivityLoggerScriptingInterface::logAction(QString action, QVariantMap details) {
75 doLogAction(action, QJsonObject::fromVariantMap(details));83 doLogAction(action, QJsonObject::fromVariantMap(details));
76}84}