aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main.cpp
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2013-06-04 13:32:08 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2014-02-15 18:38:25 +0100
commita30c90206d7011905955063ae432a5be30dca6f4 (patch)
treed3302b8319762a5731d70857411785810187311b /src/main.cpp
parent5e9281841257716820079c2758ae573f2e18c851 (diff)
downloadsciteco-a30c90206d7011905955063ae432a5be30dca6f4.tar.gz
all interface classes define the same type InterfaceCurrent, simplifying the interface object definition
* they still define their own classes (e.g. InterfaceNCurses), InterfaceCurrent is a typedef
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 01e2594..c332671 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -53,11 +53,7 @@
* a ctor/dtor order without depending on the
* GCC init_priority() attribute
*/
-#ifdef INTERFACE_GTK
-InterfaceGtk interface;
-#elif defined(INTERFACE_NCURSES)
-InterfaceNCurses interface;
-#endif
+InterfaceCurrent interface;
/*
* Scintilla will be initialized after these