Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
brinkqiang committed Jan 9, 2021
1 parent ebb9592 commit 4ddef3a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
16 changes: 8 additions & 8 deletions test/dmtimerevent/dmtimereventmodule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,29 +46,29 @@ bool CDMTimerEventMgr::LoadConfig()
bool CDMTimerEventMgr::InitEvent()
{
return true
&& InitEveryDay()
&& InitEveryWeek()
&& InitEveryMonth()
&& InitEveryYear()
&& __InitEveryDay()
&& __InitEveryWeek()
&& __InitEveryMonth()
&& __InitEveryYear()
&& true;
}

bool CDMTimerEventMgr::InitEveryDay()
bool CDMTimerEventMgr::__InitEveryDay()
{
return true;
}

bool CDMTimerEventMgr::InitEveryWeek()
bool CDMTimerEventMgr::__InitEveryWeek()
{
return true;
}

bool CDMTimerEventMgr::InitEveryMonth()
bool CDMTimerEventMgr::__InitEveryMonth()
{
return true;
}

bool CDMTimerEventMgr::InitEveryYear()
bool CDMTimerEventMgr::__InitEveryYear()
{
return true;
}
Expand Down
9 changes: 4 additions & 5 deletions test/dmtimerevent/dmtimereventmodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,11 @@ class CDMTimerEventMgr : public CDMSafeSingleton<CDMTimerEventMgr>,
private:
bool LoadConfig();
bool InitEvent();
bool InitEveryDay();
bool InitEveryWeek();
bool InitEveryMonth();
bool InitEveryYear();
private:

bool __InitEveryDay();
bool __InitEveryWeek();
bool __InitEveryMonth();
bool __InitEveryYear();
private:

std::map<ETimerEventType, SetTimerEventSink> m_oMapTimerEventSink;
Expand Down

0 comments on commit 4ddef3a

Please sign in to comment.