mirror of
https://gitee.com/jiuyilian/embedded-framework.git
synced 2025-01-06 10:16:51 -05:00
Improve:IpcConfig include cleaner.
This commit is contained in:
parent
e7c4b2d41f
commit
5e4354cde0
|
@ -14,6 +14,9 @@
|
||||||
*/
|
*/
|
||||||
#include "IIpcConfig.h"
|
#include "IIpcConfig.h"
|
||||||
#include "ILog.h"
|
#include "ILog.h"
|
||||||
|
#include "StatusCode.h"
|
||||||
|
#include <memory>
|
||||||
|
#include <string>
|
||||||
working_time::working_time() : mHourFrom(0), mHourTo(0), mMinuteFrom(0), mMinuteTo(0)
|
working_time::working_time() : mHourFrom(0), mHourTo(0), mMinuteFrom(0), mMinuteTo(0)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,13 +13,22 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
#include "IpcConfigImpl.h"
|
#include "IpcConfigImpl.h"
|
||||||
|
#include "ConfigBase.h"
|
||||||
|
#include "IIpcConfig.h"
|
||||||
#include "ILog.h"
|
#include "ILog.h"
|
||||||
#include "LinuxApi.h"
|
#include "LinuxApi.h"
|
||||||
#include <dirent.h>
|
#include "StatusCode.h"
|
||||||
|
#include <chrono>
|
||||||
|
#include <functional>
|
||||||
|
#include <map>
|
||||||
|
#include <memory>
|
||||||
|
#include <mutex>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <unistd.h>
|
#include <string>
|
||||||
|
#include <thread>
|
||||||
|
#include <utility>
|
||||||
#define CHECK_MAP(map) (map.size() == 1 ? true : false)
|
#define CHECK_MAP(map) (map.size() == 1 ? true : false)
|
||||||
const char *CONFIG_WIFI_SSID = "wifi_ssid";
|
const char *CONFIG_WIFI_SSID = "wifi_ssid";
|
||||||
const char *CONFIG_WIFI_SSID_DEFAULT = "Hunting 2024";
|
const char *CONFIG_WIFI_SSID_DEFAULT = "Hunting 2024";
|
||||||
|
|
|
@ -13,8 +13,11 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
#include "IpcConfigMakePtr.h"
|
#include "IpcConfigMakePtr.h"
|
||||||
|
#include "IIpcConfig.h"
|
||||||
#include "ILog.h"
|
#include "ILog.h"
|
||||||
#include "IpcConfigImpl.h"
|
#include "IpcConfigImpl.h"
|
||||||
|
#include "StatusCode.h"
|
||||||
|
#include <memory>
|
||||||
bool CreateIpcConfigModule(void)
|
bool CreateIpcConfigModule(void)
|
||||||
{
|
{
|
||||||
auto instance = std::make_shared<IIpcConfig>();
|
auto instance = std::make_shared<IIpcConfig>();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user