X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=c%2B%2B%2Fcursesw.h;h=eef5a631c995ddb47b71530b19b57eff2c75d26f;hb=0eedaa5673ff8181abe51e3a6fadca3820f90c46;hp=001f6dbcab4c75afd725bc68023fd730795d2367;hpb=a5fe3726f7d4374e9b1551b535c8617b423996f2;p=ncurses.git diff --git a/c++/cursesw.h b/c++/cursesw.h index 001f6dbc..eef5a631 100644 --- a/c++/cursesw.h +++ b/c++/cursesw.h @@ -1,7 +1,7 @@ // * This makes emacs happy -*-Mode: C++;-*- // vile:cppmode /**************************************************************************** - * Copyright 2019-2020,2021 Thomas E. Dickey * + * Copyright 2019-2021,2022 Thomas E. Dickey * * Copyright 1998-2014,2017 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * @@ -32,7 +32,7 @@ #ifndef NCURSES_CURSESW_H_incl #define NCURSES_CURSESW_H_incl 1 -// $Id: cursesw.h,v 1.58 2021/04/17 18:11:08 tom Exp $ +// $Id: cursesw.h,v 1.59 2022/08/20 20:52:15 tom Exp $ extern "C" { # include @@ -1503,7 +1503,7 @@ public: // Put the attributed character onto the pad and immediately do a // prefresh(). - int refresh(); + int refresh() NCURSES_OVERRIDE; // If a viewport is defined the pad is displayed in this window, otherwise // this is a noop. @@ -1517,7 +1517,7 @@ public: // on the screen. refresh copies a rectangle of this size beginning // with top left corner pminrow,pmincol onto the screen and calls doupdate(). - int noutrefresh(); + int noutrefresh() NCURSES_OVERRIDE; // If a viewport is defined the pad is displayed in this window, otherwise // this is a noop. @@ -1547,7 +1547,7 @@ public: class NCURSES_CXX_IMPEXP NCursesFramedPad : public NCursesPad { protected: - virtual void OnOperation(int pad_req); + virtual void OnOperation(int pad_req) NCURSES_OVERRIDE; public: NCursesFramedPad(NCursesWindow& win, int nlines, int ncols, @@ -1562,7 +1562,7 @@ public: delete getSubWindow(); } - void setWindow(NCursesWindow& view, int v_grid = 1, int h_grid = 1) { + void setWindow(NCursesWindow& view, int v_grid = 1, int h_grid = 1) NCURSES_OVERRIDE { (void) view; (void) v_grid; (void) h_grid; @@ -1570,7 +1570,7 @@ public: } // Disable this call; the viewport is already defined - void setSubWindow(NCursesWindow& sub) { + void setSubWindow(NCursesWindow& sub) NCURSES_OVERRIDE { (void) sub; err_handler("Operation not allowed"); }