core: move common.hpp to core/
Headers in core/ are now included as `#include "core/*.hpp"`. This allows NFD to rely less on include paths when used as a submodule in another codebase, such as ndnSIM and NFD-Android. refs #3127 Change-Id: Ia38f3c97427e17ff7b5401281f1fe875b5d5313e
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
* NFD, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "version.hpp"
|
||||
#include "core/version.hpp"
|
||||
#include <ndn-cxx/encoding/tlv-nfd.hpp>
|
||||
#include <ndn-cxx/face.hpp>
|
||||
#include <ndn-cxx/security/key-chain.hpp>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
|
||||
/**
|
||||
* Copyright (c) 2014-2015, Regents of the University of California,
|
||||
* Copyright (c) 2014-2016, Regents of the University of California,
|
||||
* Arizona Board of Regents,
|
||||
* Colorado State University,
|
||||
* University Pierre & Marie Curie, Sorbonne University,
|
||||
@@ -26,9 +26,7 @@
|
||||
#ifndef NFD_TOOLS_NDN_AUTOCONFIG_BASE_HPP
|
||||
#define NFD_TOOLS_NDN_AUTOCONFIG_BASE_HPP
|
||||
|
||||
#include "common.hpp"
|
||||
|
||||
#include <boost/noncopyable.hpp>
|
||||
#include "core/common.hpp"
|
||||
|
||||
#include <ndn-cxx/face.hpp>
|
||||
#include <ndn-cxx/security/key-chain.hpp>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
|
||||
/**
|
||||
* Copyright (c) 2014-2015, Regents of the University of California,
|
||||
* Copyright (c) 2014-2016, Regents of the University of California,
|
||||
* Arizona Board of Regents,
|
||||
* Colorado State University,
|
||||
* University Pierre & Marie Curie, Sorbonne University,
|
||||
@@ -23,7 +23,7 @@
|
||||
* NFD, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "version.hpp"
|
||||
#include "core/version.hpp"
|
||||
|
||||
#include "multicast-discovery.hpp"
|
||||
#include "guess-from-search-domains.hpp"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
|
||||
/**
|
||||
* Copyright (c) 2014-2015, Regents of the University of California,
|
||||
* Copyright (c) 2014-2016, Regents of the University of California,
|
||||
* Arizona Board of Regents,
|
||||
* Colorado State University,
|
||||
* University Pierre & Marie Curie, Sorbonne University,
|
||||
@@ -37,7 +37,7 @@
|
||||
#include <boost/program_options/variables_map.hpp>
|
||||
#include <boost/program_options/parsers.hpp>
|
||||
|
||||
#include "version.hpp"
|
||||
#include "core/version.hpp"
|
||||
#include "core/network.hpp"
|
||||
|
||||
using namespace ndn::nfd;
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
#ifndef NFD_TOOLS_NFD_STATUS_FORMAT_HELPERS_HPP
|
||||
#define NFD_TOOLS_NFD_STATUS_FORMAT_HELPERS_HPP
|
||||
|
||||
#include "common.hpp"
|
||||
#include "core/common.hpp"
|
||||
|
||||
namespace nfd {
|
||||
namespace tools {
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
* NFD, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "version.hpp"
|
||||
#include "core/version.hpp"
|
||||
#include <ndn-cxx/security/validator-null.hpp>
|
||||
|
||||
#include <boost/program_options/options_description.hpp>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
#ifndef NFD_TOOLS_NFD_STATUS_MODULE_HPP
|
||||
#define NFD_TOOLS_NFD_STATUS_MODULE_HPP
|
||||
|
||||
#include "common.hpp"
|
||||
#include "core/common.hpp"
|
||||
#include <ndn-cxx/management/nfd-controller.hpp>
|
||||
|
||||
namespace nfd {
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
|
||||
/**
|
||||
* Copyright (c) 2014-2015, Regents of the University of California,
|
||||
* Copyright (c) 2014-2016, Regents of the University of California,
|
||||
* Arizona Board of Regents,
|
||||
* Colorado State University,
|
||||
* University Pierre & Marie Curie, Sorbonne University,
|
||||
@@ -24,7 +24,7 @@
|
||||
*/
|
||||
|
||||
#include "nfdc.hpp"
|
||||
#include "version.hpp"
|
||||
#include "core/version.hpp"
|
||||
|
||||
#include <boost/lexical_cast.hpp>
|
||||
#include <boost/algorithm/string.hpp>
|
||||
|
||||
Reference in New Issue
Block a user