ecere: Added missing namespaces
authorJerome St-Louis <jerome@ecere.com>
Fri, 15 Jul 2016 04:44:58 +0000 (00:44 -0400)
committerJerome St-Louis <jerome@ecere.com>
Thu, 28 Jul 2016 22:23:30 +0000 (18:23 -0400)
- This was leaving unwanted things in global ecere namespace which should only contain the sub-namespaces

ecere/src/gfx/drivers/gl3/immediate.ec
ecere/src/gfx/drivers/gl3/matrixStack.ec
ecere/src/gui/controls/PaneSplitter.ec
ecere/src/gui/controls/ToolTip.ec
ecere/src/sys/Condition.ec
ecere/src/sys/JSONGlobalSettings.ec

index cbb5801..754a400 100644 (file)
@@ -4,6 +4,8 @@ import "defaultShader"
 
 #include "gl123es.h"
 
+namespace gfx::drivers;
+
 public enum GLIMTKMode
 {
    unset          =     -1,
index 2fe84a4..08b164b 100644 (file)
@@ -4,6 +4,8 @@ import "defaultShader"
 
 #include "gl123es.h"
 
+namespace gfx::drivers;
+
 #if defined(ECERE_NO3D) || defined(ECERE_VANILLA)
 public union Matrix
 {
index e33a35f..29fee92 100644 (file)
@@ -1,5 +1,7 @@
 import "Window"
 
+namespace gui::controls;
+
 define defaultToolSize = 6;
 
 public class PaneSplitter : Window
index 5d64e58..b09e7bd 100644 (file)
@@ -1,5 +1,7 @@
 import "Window"
 
+namespace gui::controls;
+
 struct ToolTipTextLine
 {
    char * string;
index 208ac4b..f6cefcb 100644 (file)
@@ -8,6 +8,8 @@ import "Semaphore"
 import "ecere"
 #endif
 
+namespace sys;
+
 #if !defined(__EMSCRIPTEN__)
 
 public class Condition : struct
index 466a691..7149053 100644 (file)
@@ -1,6 +1,8 @@
 import "GlobalAppSettings"
 import "JSON"
 
+namespace sys;
+
 public class JSONGlobalSettings : GlobalSettingsDriver
 {
    class_property(name) = "JSON";