diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2013-06-04 13:32:08 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2014-02-15 18:38:25 +0100 |
commit | a30c90206d7011905955063ae432a5be30dca6f4 (patch) | |
tree | d3302b8319762a5731d70857411785810187311b /src/interface.h | |
parent | 5e9281841257716820079c2758ae573f2e18c851 (diff) | |
download | sciteco-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/interface.h')
-rw-r--r-- | src/interface.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/interface.h b/src/interface.h index 6f7bc84..b5be547 100644 --- a/src/interface.h +++ b/src/interface.h @@ -137,4 +137,7 @@ public: #error No interface selected! #endif +/* object defined in main.cpp */ +extern InterfaceCurrent interface; + #endif |