aboutsummaryrefslogtreecommitdiff
path: root/contrib/ncurses/c++/cursesp.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ncurses/c++/cursesp.h')
-rw-r--r--contrib/ncurses/c++/cursesp.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/contrib/ncurses/c++/cursesp.h b/contrib/ncurses/c++/cursesp.h
index b56580a6376f..1a656f5464ad 100644
--- a/contrib/ncurses/c++/cursesp.h
+++ b/contrib/ncurses/c++/cursesp.h
@@ -1,6 +1,6 @@
// * This makes emacs happy -*-Mode: C++;-*-
/****************************************************************************
- * Copyright (c) 1998,1999,2000 Free Software Foundation, Inc. *
+ * Copyright (c) 1998,1999,2000,2001 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the *
@@ -34,7 +34,7 @@
#ifndef NCURSES_CURSESP_H_incl
#define NCURSES_CURSESP_H_incl 1
-// $Id: cursesp.h,v 1.14 2001/03/24 21:41:35 tom Exp $
+// $Id: cursesp.h,v 1.15 2001/07/14 20:56:18 juergen Exp $
#include <cursesw.h>
@@ -79,6 +79,9 @@ protected:
// If err is equal to the curses error indicator ERR, an error handler
// is called.
+ // Get a keystroke. Default implementation calls getch()
+ virtual int getKey(void);
+
public:
NCursesPanel(int lines,
int cols,