mirror of
https://github.com/espressif/openthread.git
synced 2026-09-15 13:40:06 +00:00
[core] remove unused forward class declarations in header files (#2587)
This commit is contained in:
committed by
Jonathan Hui
parent
f49158e166
commit
34b045c96b
@@ -49,8 +49,6 @@
|
||||
|
||||
namespace ot {
|
||||
|
||||
class ThreadNetif;
|
||||
|
||||
namespace Coap {
|
||||
|
||||
/**
|
||||
|
||||
@@ -41,8 +41,6 @@
|
||||
|
||||
namespace ot {
|
||||
|
||||
class ThreadNetif;
|
||||
|
||||
namespace Coap {
|
||||
|
||||
class CoapSecure : public CoapBase
|
||||
|
||||
@@ -50,10 +50,6 @@
|
||||
|
||||
namespace ot {
|
||||
|
||||
namespace Mle {
|
||||
class MleRouter;
|
||||
}
|
||||
|
||||
/**
|
||||
* @addtogroup core-mac
|
||||
*
|
||||
|
||||
@@ -47,10 +47,6 @@
|
||||
|
||||
namespace ot {
|
||||
|
||||
namespace Ip6 {
|
||||
class Address;
|
||||
}
|
||||
|
||||
namespace Mac {
|
||||
|
||||
/**
|
||||
|
||||
@@ -52,8 +52,6 @@
|
||||
|
||||
namespace ot {
|
||||
|
||||
class ThreadNetif;
|
||||
|
||||
namespace MeshCoP {
|
||||
|
||||
class Commissioner : public InstanceLocator
|
||||
|
||||
@@ -48,8 +48,6 @@
|
||||
|
||||
namespace ot {
|
||||
|
||||
class ThreadNetif;
|
||||
|
||||
namespace MeshCoP {
|
||||
|
||||
class DatasetManager : public InstanceLocator
|
||||
|
||||
@@ -54,8 +54,6 @@
|
||||
|
||||
namespace ot {
|
||||
|
||||
class ThreadNetif;
|
||||
|
||||
namespace MeshCoP {
|
||||
|
||||
class Dtls : public InstanceLocator
|
||||
|
||||
@@ -45,8 +45,6 @@
|
||||
|
||||
namespace ot {
|
||||
|
||||
class ThreadNetif;
|
||||
|
||||
/**
|
||||
* This class implements handling PANID Query Requests.
|
||||
*
|
||||
|
||||
@@ -50,8 +50,6 @@
|
||||
|
||||
namespace ot {
|
||||
|
||||
class ThreadNetif;
|
||||
|
||||
namespace MeshCoP {
|
||||
|
||||
class Joiner : public InstanceLocator
|
||||
|
||||
@@ -51,8 +51,6 @@
|
||||
|
||||
namespace ot {
|
||||
|
||||
class ThreadNetif;
|
||||
|
||||
namespace MeshCoP {
|
||||
|
||||
class JoinerRouter : public InstanceLocator
|
||||
|
||||
@@ -45,8 +45,6 @@
|
||||
|
||||
namespace ot {
|
||||
|
||||
class ThreadNetif;
|
||||
|
||||
/**
|
||||
* This class implements handling PANID Query Requests.
|
||||
*
|
||||
|
||||
@@ -49,11 +49,6 @@
|
||||
|
||||
namespace ot {
|
||||
|
||||
class ThreadNetif;
|
||||
namespace Mle {
|
||||
class MleRouter;
|
||||
}
|
||||
|
||||
namespace Dhcp6 {
|
||||
|
||||
/**
|
||||
|
||||
@@ -47,11 +47,6 @@
|
||||
|
||||
namespace ot {
|
||||
|
||||
class ThreadNetif;
|
||||
namespace NetworkData {
|
||||
class Leader;
|
||||
}
|
||||
|
||||
namespace Dhcp6 {
|
||||
|
||||
/**
|
||||
|
||||
@@ -50,7 +50,6 @@
|
||||
#include "thread/mesh_forwarder.hpp"
|
||||
#include "thread/mle_router.hpp"
|
||||
#include "thread/thread_netif.hpp"
|
||||
#include "thread/thread_tlvs.hpp"
|
||||
#include "thread/thread_uri_paths.hpp"
|
||||
|
||||
using ot::Encoding::BigEndian::HostSwap16;
|
||||
|
||||
@@ -44,15 +44,10 @@
|
||||
#include "mac/mac.hpp"
|
||||
#include "net/icmp6.hpp"
|
||||
#include "net/udp6.hpp"
|
||||
#include "thread/thread_tlvs.hpp"
|
||||
|
||||
namespace ot {
|
||||
|
||||
class MeshForwarder;
|
||||
class ThreadLastTransactionTimeTlv;
|
||||
class ThreadMeshLocalEidTlv;
|
||||
class ThreadNetif;
|
||||
class ThreadTargetTlv;
|
||||
|
||||
/**
|
||||
* @addtogroup core-arp
|
||||
*
|
||||
|
||||
@@ -44,15 +44,10 @@
|
||||
#include "common/timer.hpp"
|
||||
#include "net/ip6_address.hpp"
|
||||
#include "net/udp6.hpp"
|
||||
#include "thread/thread_tlvs.hpp"
|
||||
|
||||
namespace ot {
|
||||
|
||||
class MeshForwarder;
|
||||
class ThreadLastTransactionTimeTlv;
|
||||
class ThreadMeshLocalEidTlv;
|
||||
class ThreadNetif;
|
||||
class ThreadTargetTlv;
|
||||
|
||||
/**
|
||||
* This class implements handling Energy Scan Requests.
|
||||
*
|
||||
|
||||
@@ -56,8 +56,6 @@ enum
|
||||
kReassemblyTimeout = OPENTHREAD_CONFIG_6LOWPAN_REASSEMBLY_TIMEOUT,
|
||||
};
|
||||
|
||||
class MleRouter;
|
||||
|
||||
/**
|
||||
* @addtogroup core-mesh-forwarding
|
||||
*
|
||||
|
||||
@@ -50,17 +50,6 @@
|
||||
|
||||
namespace ot {
|
||||
|
||||
class ThreadNetif;
|
||||
class KeyManager;
|
||||
class MeshForwarder;
|
||||
|
||||
namespace Mac {
|
||||
class Mac;
|
||||
}
|
||||
namespace NetworkData {
|
||||
class Leader;
|
||||
}
|
||||
|
||||
/**
|
||||
* @addtogroup core-mle MLE
|
||||
*
|
||||
@@ -85,8 +74,6 @@ class Leader;
|
||||
|
||||
namespace Mle {
|
||||
|
||||
class MleRouter;
|
||||
|
||||
/**
|
||||
* @addtogroup core-mle-core
|
||||
*
|
||||
|
||||
@@ -56,10 +56,6 @@
|
||||
namespace ot {
|
||||
namespace Mle {
|
||||
|
||||
class AddressResolver;
|
||||
class MeshForwarder;
|
||||
class NetworkDataLeader;
|
||||
|
||||
/**
|
||||
* @addtogroup core-mle-router
|
||||
*
|
||||
|
||||
@@ -46,8 +46,6 @@
|
||||
|
||||
namespace ot {
|
||||
|
||||
class ThreadNetif;
|
||||
|
||||
namespace NetworkData {
|
||||
|
||||
/**
|
||||
|
||||
@@ -46,8 +46,6 @@
|
||||
|
||||
namespace ot {
|
||||
|
||||
class ThreadNetif;
|
||||
|
||||
namespace NetworkData {
|
||||
|
||||
/**
|
||||
|
||||
@@ -40,8 +40,6 @@
|
||||
|
||||
namespace ot {
|
||||
|
||||
class ThreadNetif;
|
||||
|
||||
namespace NetworkData {
|
||||
|
||||
class Leader : public LeaderBase
|
||||
|
||||
@@ -40,8 +40,6 @@
|
||||
|
||||
namespace ot {
|
||||
|
||||
class ThreadNetif;
|
||||
|
||||
/**
|
||||
* @addtogroup core-netdata-local
|
||||
*
|
||||
|
||||
@@ -47,7 +47,6 @@
|
||||
#include "net/netif.hpp"
|
||||
#include "thread/mesh_forwarder.hpp"
|
||||
#include "thread/mle_router.hpp"
|
||||
#include "thread/network_diagnostic_tlvs.hpp"
|
||||
#include "thread/thread_netif.hpp"
|
||||
#include "thread/thread_tlvs.hpp"
|
||||
#include "thread/thread_uri_paths.hpp"
|
||||
|
||||
@@ -41,15 +41,12 @@
|
||||
#include "coap/coap.hpp"
|
||||
#include "common/locator.hpp"
|
||||
#include "net/udp6.hpp"
|
||||
#include "thread/network_diagnostic_tlvs.hpp"
|
||||
|
||||
namespace ot {
|
||||
|
||||
namespace NetworkDiagnostic {
|
||||
|
||||
class Ip6AddressListTlv;
|
||||
class ChildTableTlv;
|
||||
class NetworkDiagnosticTlv;
|
||||
|
||||
/**
|
||||
* @addtogroup core-netdiag
|
||||
*
|
||||
|
||||
@@ -46,12 +46,6 @@
|
||||
|
||||
namespace ot {
|
||||
|
||||
class MeshForwarder;
|
||||
class ThreadLastTransactionTimeTlv;
|
||||
class ThreadMeshLocalEidTlv;
|
||||
class ThreadNetif;
|
||||
class ThreadTargetTlv;
|
||||
|
||||
/**
|
||||
* This class implements handling PANID Query Requests.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user