Main Page
Namespaces
Classes
Files
File List
File Members
src
main
output.h
Go to the documentation of this file.
1
//
2
// Copyright (C) 2001-2013 Graeme Walker <graeme_walker@users.sourceforge.net>
3
//
4
// This program is free software: you can redistribute it and/or modify
5
// it under the terms of the GNU General Public License as published by
6
// the Free Software Foundation, either version 3 of the License, or
7
// (at your option) any later version.
8
//
9
// This program is distributed in the hope that it will be useful,
10
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
// GNU General Public License for more details.
13
//
14
// You should have received a copy of the GNU General Public License
15
// along with this program. If not, see <http://www.gnu.org/licenses/>.
16
// ===
20
21
#ifndef G_MAIN_OUTPUT_H
22
#define G_MAIN_OUTPUT_H
23
24
#include "gdef.h"
25
#include <string>
26
28
namespace
Main
29
{
30
class
Output ;
31
}
32
38
class
Main::Output
39
{
40
public
:
41
virtual
void
output
(
const
std::string & ,
bool
error ) = 0 ;
43
44
virtual
~Output
() ;
46
47
private
:
48
void
operator=(
const
Output
& ) ;
// not implemented
49
} ;
50
51
#endif
52
Main
Application-level classes.
Main::Output::~Output
virtual ~Output()
Destructor.
Definition:
output.cpp:24
Main::Output::output
virtual void output(const std::string &, bool error)=0
Outputs the given string.
Main::Output
An abstract interface for generating output on a command-line or a GUI.
Definition:
output.h:38
Generated on Thu Jan 11 2018 00:25:33 for E-MailRelay by
1.8.8