summarylogtreecommitdiffstats
path: root/plugin.patch
blob: ccdb634a0657c50ff8cfdbd276e0e62b913f05a1 (plain)
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
47
48
49
diff --git a/gui/src/ocpn_platform.cpp b/gui/src/ocpn_platform.cpp
index 5d6a89cff..857f4d7cc 100644
--- a/gui/src/ocpn_platform.cpp
+++ b/gui/src/ocpn_platform.cpp
@@ -1248,6 +1248,31 @@ void OCPNPlatform::SetDefaultOptions() {
     pConfig->SetPath("/Settings/WMM");
     pConfig->Write("ShowIcon", true);
     pConfig->Write("ShowLiveIcon", true);
+
+    pConfig->SetPath(_T ( "/PlugIns/libcelestial_navigation_pi.so" ));
+    pConfig->Write(_T ( "bEnabled" ), true);
+
+    pConfig->SetPath(_T ( "/PlugIns/libclimatology_pi.so" ));
+    pConfig->Write(_T ( "bEnabled" ), true);
+
+    pConfig->SetPath(_T ( "/PlugIns/libocpn_draw_pi.so" ));
+    pConfig->Write(_T ( "bEnabled" ), true);
+
+    pConfig->SetPath(_T ( "/PlugIns/libo-charts_pi.so" ));
+    pConfig->Write(_T ( "bEnabled" ), true);
+
+    pConfig->SetPath(_T ( "/PlugIns/libpolar_pi.so" ));
+    pConfig->Write(_T ( "bEnabled" ), true);
+
+    pConfig->SetPath(_T ( "/PlugIns/libroute_pi.so" ));
+    pConfig->Write(_T ( "bEnabled" ), true);
+
+    pConfig->SetPath(_T ( "/PlugIns/libweatherfax_pi.so" ));
+    pConfig->Write(_T ( "bEnabled" ), true);
+
+    pConfig->SetPath(_T ( "/PlugIns/libweather_routing_pi.so" ));
+    pConfig->Write(_T ( "bEnabled" ), true);
+
   }
 #endif
 
diff --git a/model/src/config_vars.cpp b/model/src/config_vars.cpp
index c501c2962..191e0e28c 100644
--- a/model/src/config_vars.cpp
+++ b/model/src/config_vars.cpp
@@ -27,7 +27,7 @@
 #include "model/config_vars.h"
 #include "config.h"
 
-bool g_allow_arb_system_plugin = false;
+bool g_allow_arb_system_plugin = true;
 bool g_always_send_rmb_rmc = false;
 bool g_bAISRolloverShowClass = false;
 bool g_bAISRolloverShowCOG = false;