aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/interface.h')
-rw-r--r--src/interface.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/interface.h b/src/interface.h
index a2ff00d..e2d24de 100644
--- a/src/interface.h
+++ b/src/interface.h
@@ -27,6 +27,8 @@
#include "undo.h"
+namespace SciTECO {
+
/* avoid include dependency conflict */
class QRegister;
class Buffer;
@@ -129,6 +131,8 @@ public:
void process_notify(SCNotification *notify);
};
+} /* namespace SciTECO */
+
#ifdef INTERFACE_GTK
#include "interface-gtk.h"
#elif defined(INTERFACE_NCURSES)
@@ -137,7 +141,9 @@ public:
#error No interface selected!
#endif
-/* object defined in main.cpp */
-extern InterfaceCurrent interface;
+namespace SciTECO {
+ /* object defined in main.cpp */
+ extern InterfaceCurrent interface;
+}
#endif