diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Screen.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index fe5bb25..34173a3 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Screen.cc,v 1.238 2003/10/05 06:28:47 rathnor Exp $ | 25 | // $Id: Screen.cc,v 1.239 2003/10/28 17:39:59 rathnor Exp $ |
26 | 26 | ||
27 | 27 | ||
28 | #include "Screen.hh" | 28 | #include "Screen.hh" |
@@ -69,6 +69,9 @@ | |||
69 | 69 | ||
70 | #ifdef SLIT | 70 | #ifdef SLIT |
71 | #include "Slit.hh" | 71 | #include "Slit.hh" |
72 | #else | ||
73 | // fill it in | ||
74 | class Slit {}; | ||
72 | #endif // SLIT | 75 | #endif // SLIT |
73 | 76 | ||
74 | #ifdef STDC_HEADERS | 77 | #ifdef STDC_HEADERS |
@@ -2417,6 +2420,7 @@ int BScreen::getHeadHeight(int head) const { | |||
2417 | // on the actual objects | 2420 | // on the actual objects |
2418 | 2421 | ||
2419 | 2422 | ||
2423 | #ifdef SLIT | ||
2420 | template <> | 2424 | template <> |
2421 | int BScreen::getOnHead<Slit>(Slit &slit) { | 2425 | int BScreen::getOnHead<Slit>(Slit &slit) { |
2422 | return 0; | 2426 | return 0; |
@@ -2427,4 +2431,4 @@ void BScreen::setOnHead<Slit>(Slit &slit, int head) { | |||
2427 | // slit.saveOnHead(head); | 2431 | // slit.saveOnHead(head); |
2428 | slit.reconfigure(); | 2432 | slit.reconfigure(); |
2429 | } | 2433 | } |
2430 | 2434 | #endif // SLIT | |