mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
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:
parent
a6930fb2fb
commit
8560f9295f
4 changed files with 11 additions and 5 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#include "Timer.h"
|
||||
|
||||
// #define LOG_QUEUE
|
||||
using namespace Upp;
|
||||
|
||||
#define LLOG(x) // LOG(x)
|
||||
|
||||
Timer::Timer()
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -3,6 +3,8 @@
|
|||
#define REPEAT_TEST
|
||||
#define TIMEOUT 1000
|
||||
|
||||
using namespace Upp;
|
||||
|
||||
TimerTest::TimerTest()
|
||||
: demo(0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue