Bazaar: Timer remove using namespace Upp directive.

git-svn-id: svn://ultimatepp.org/upp/trunk@15200 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
klugier 2020-10-04 20:08:01 +00:00
parent a6930fb2fb
commit 8560f9295f
4 changed files with 11 additions and 5 deletions

View file

@ -1,6 +1,7 @@
#include "Timer.h"
// #define LOG_QUEUE
using namespace Upp;
#define LLOG(x) // LOG(x)
Timer::Timer()

View file

@ -3,7 +3,7 @@
#include <Core/Core.h>
using namespace Upp;
namespace Upp {
//runs a chained list of TimerEvent stored Callbacks after sleeping
class Timer
@ -61,4 +61,6 @@ private:
//LinkOwner<TimeEvent> flist; //unused elements for reuse
};
}
#endif

View file

@ -2,13 +2,13 @@
#define _TimerTest_TimerTest_h
#include <CtrlLib/CtrlLib.h>
#include <Timer/Timer.h>
using namespace Upp;
namespace Upp {
#define LAYOUTFILE <TimerTest/TimerTest.lay>
#include <CtrlCore/lay.h>
#include <Timer/Timer.h>
class TimerTest : public WithLayout<TopWindow> {
public:
@ -26,5 +26,6 @@ private:
Atomic demo;
};
#endif
}
#endif

View file

@ -3,6 +3,8 @@
#define REPEAT_TEST
#define TIMEOUT 1000
using namespace Upp;
TimerTest::TimerTest()
: demo(0)
{