libyui-ncurses-rest-api
Loading...
Searching...
No Matches
NCHttpApplication.h
1/*
2 Copyright (C) 2023 SUSE LLC
3
4 This library is free software; you can redistribute it and/or modify
5 it under the terms of the GNU Lesser General Public License as
6 published by the Free Software Foundation; either version 2.1 of the
7 License, or (at your option) version 3.0 of the License. This library
8 is distributed in the hope that it will be useful, but WITHOUT ANY
9 WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
11 License for more details. You should have received a copy of the GNU
12 Lesser General Public License along with this library; if not, write
13 to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
14 Floor, Boston, MA 02110-1301 USA
15*/
16
17#ifndef NCHttpApplication_h
18#define NCHttpApplication_h
19
20#include <yui/ncurses/NCApplication.h>
21
22class NCHttpApplication: public NCApplication
23{
24
25 protected:
26
27 friend class YNCHttpUI;
28
35
39 virtual ~NCHttpApplication();
40
41
42 public:
43
44 virtual int runInTerminal( const std::string & command ) override;
45};
46
47
48#endif // NCHttpApplication_h
Definition NCHttpApplication.h:23
virtual ~NCHttpApplication()
Definition NCHttpApplication.cc:39
NCHttpApplication()
Definition NCHttpApplication.cc:35
Definition YNCHttpUI.h:33