1
This commit is contained in:
parent
6c4e6fd4e0
commit
e7c788386d
1
a8/a8.h
1
a8/a8.h
@ -16,7 +16,6 @@
|
|||||||
#include <a8/list.h>
|
#include <a8/list.h>
|
||||||
#include <a8/xvalue.h>
|
#include <a8/xvalue.h>
|
||||||
#include <a8/xobject.h>
|
#include <a8/xobject.h>
|
||||||
#include <a8/xparams.h>
|
|
||||||
#include <a8/timer_attacher.h>
|
#include <a8/timer_attacher.h>
|
||||||
|
|
||||||
#include <a8/strutils.h>
|
#include <a8/strutils.h>
|
||||||
|
51
a8/xparams.h
51
a8/xparams.h
@ -1,51 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
namespace a8
|
|
||||||
{
|
|
||||||
|
|
||||||
class XParams
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
|
|
||||||
template <typename T>
|
|
||||||
a8::XParams& SetSender(T val)
|
|
||||||
{
|
|
||||||
sender.Set(val);
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
template <typename T>
|
|
||||||
a8::XParams& SetParam1(T val)
|
|
||||||
{
|
|
||||||
param1.Set(val);
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
template <typename T>
|
|
||||||
a8::XParams& SetParam2(T val)
|
|
||||||
{
|
|
||||||
param2.Set(val);
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
template <typename T>
|
|
||||||
a8::XParams& SetParam3(T val)
|
|
||||||
{
|
|
||||||
param3.Set(val);
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DeepCopy(a8::XParams& to)
|
|
||||||
{
|
|
||||||
to = *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public:
|
|
||||||
a8::XValue sender;
|
|
||||||
a8::XValue param1;
|
|
||||||
a8::XValue param2;
|
|
||||||
a8::XValue param3;
|
|
||||||
long long _sys_field = 0;
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user