35 lines
738 B
C++
35 lines
738 B
C++
// this file is generated by program automatically,don't modify it!
|
|
|
|
/**
|
|
*
|
|
* @file NotFound.h
|
|
* @author An Tao
|
|
*
|
|
* Copyright 2018, An Tao. All rights reserved.
|
|
* https://github.com/an-tao/drogon
|
|
* Use of this source code is governed by a MIT license
|
|
* that can be found in the License file.
|
|
*
|
|
* Drogon
|
|
*
|
|
*/
|
|
#pragma once
|
|
|
|
#include <drogon/exports.h>
|
|
#include <drogon/DrTemplate.h>
|
|
namespace drogon
|
|
{
|
|
/**
|
|
* @brief This class is used by the drogon to generate the 404 page. Users don't
|
|
* use this class directly.
|
|
*/
|
|
class DROGON_EXPORT NotFound final : public drogon::DrTemplate<NotFound>
|
|
{
|
|
public:
|
|
NotFound()
|
|
{
|
|
}
|
|
std::string genText(const drogon::HttpViewData &) override;
|
|
};
|
|
} // namespace drogon
|