Steve DiBenedetto | 042bfe9 | 2014-01-30 15:05:08 -0700 | [diff] [blame^] | 1 | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
| 2 | /** |
| 3 | * Copyright (C) 2014 Named Data Networking Project |
| 4 | * See COPYING for copyright and distribution information. |
| 5 | */ |
| 6 | |
| 7 | #ifndef NFD_MGMT_MANAGER_BASE_HPP |
| 8 | #define NFD_MGMT_MANAGER_BASE_HPP |
| 9 | |
| 10 | #include "common.hpp" |
| 11 | |
| 12 | namespace nfd { |
| 13 | |
| 14 | class AppFace; |
| 15 | |
| 16 | class ManagerBase |
| 17 | { |
| 18 | public: |
| 19 | ManagerBase(shared_ptr<AppFace> face); |
| 20 | |
| 21 | virtual |
| 22 | ~ManagerBase(); |
| 23 | |
| 24 | protected: |
| 25 | |
| 26 | virtual void |
| 27 | sendResponse(const Name& name, |
| 28 | uint32_t code, |
| 29 | const std::string& text); |
| 30 | |
| 31 | protected: |
| 32 | shared_ptr<AppFace> m_face; |
| 33 | }; |
| 34 | |
| 35 | |
| 36 | } // namespace ndf |
| 37 | |
| 38 | #endif // NFD_MGMT_MANAGER_BASE_HPP |
| 39 | |