Fawkes API
Fawkes Development Version
error_reply.h
1
2
/***************************************************************************
3
* error_reply.h - Web request reply for an error page
4
*
5
* Created: Fri Oct 24 19:55:26 2008
6
* Copyright 2006-2008 Tim Niemueller [www.niemueller.de]
7
*
8
****************************************************************************/
9
10
/* This program is free software; you can redistribute it and/or modify
11
* it under the terms of the GNU General Public License as published by
12
* the Free Software Foundation; either version 2 of the License, or
13
* (at your option) any later version.
14
*
15
* This program is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
* GNU Library General Public License for more details.
19
*
20
* Read the full text in the LICENSE.GPL file in the doc directory.
21
*/
22
23
#ifndef __LIBS_WEBVIEW_ERROR_REPLY_H_
24
#define __LIBS_WEBVIEW_ERROR_REPLY_H_
25
26
#include <webview/page_reply.h>
27
28
namespace
fawkes
{
29
#if 0
/* just to make Emacs auto-indent happy */
30
}
31
#endif
32
33
class
WebErrorPageReply
:
public
WebPageReply
34
{
35
public
:
36
WebErrorPageReply
(
Code
error_code,
const
char
*format = NULL, ...);
37
};
38
39
}
// end namespace fawkes
40
41
#endif
fawkes
Fawkes library namespace.
fawkes::WebErrorPageReply::WebErrorPageReply
WebErrorPageReply(Code error_code, const char *format=NULL,...)
Constructor.
Definition:
error_reply.cpp:45
fawkes::WebPageReply
Basic page reply.
Definition:
page_reply.h:36
fawkes::WebReply::Code
Code
HTTP response code.
Definition:
reply.h:40
fawkes::WebErrorPageReply
Static error page reply.
Definition:
error_reply.h:33
src
libs
webview
error_reply.h
Generated by
1.8.13