forked from ClusterM/open-bamboo-networking
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathabi_track.cpp
More file actions
46 lines (38 loc) · 1.38 KB
/
abi_track.cpp
File metadata and controls
46 lines (38 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#include <string>
#include "obn/abi_export.hpp"
#include "obn/bambu_networking.hpp"
// Telemetry / analytics: disabled in this plugin. Everything is a no-op that
// claims success so Studio's "report consent" dialogs stay quiet.
OBN_ABI int bambu_network_track_enable(void* /*agent*/, bool /*enable*/)
{
return BAMBU_NETWORK_SUCCESS;
}
OBN_ABI int bambu_network_track_remove_files(void* /*agent*/)
{
return BAMBU_NETWORK_SUCCESS;
}
OBN_ABI int bambu_network_track_event(void* /*agent*/,
std::string /*evt_key*/,
std::string /*content*/)
{
return BAMBU_NETWORK_SUCCESS;
}
OBN_ABI int bambu_network_track_header(void* /*agent*/, std::string /*header*/)
{
return BAMBU_NETWORK_SUCCESS;
}
OBN_ABI int bambu_network_track_update_property(void* /*agent*/,
std::string /*name*/,
std::string /*value*/,
std::string /*type*/)
{
return BAMBU_NETWORK_SUCCESS;
}
OBN_ABI int bambu_network_track_get_property(void* /*agent*/,
std::string /*name*/,
std::string& value,
std::string /*type*/)
{
value.clear();
return BAMBU_NETWORK_SUCCESS;
}