Cleanup/Core: Remove whitespace and tabs
--HG-- branch : trunk
This commit is contained in:
1 parent
6fa05cfa3e
commit
bf664b7a44
64 files changed
+261
-261
No files matched your search
@@ -34,42 +34,42 @@ class QueryCallback
|
||||
{
|
||||
public:
|
||||
QueryCallback() {}
|
||||
|
||||
|
||||
void SetFutureResult(QueryResultFuture value)
|
||||
{
|
||||
result = value;
|
||||
}
|
||||
|
||||
|
||||
QueryResultFuture GetFutureResult()
|
||||
{
|
||||
return result;
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
int IsReady()
|
||||
{
|
||||
return result.ready();
|
||||
}
|
||||
|
||||
|
||||
void GetResult(QueryResult& res)
|
||||
{
|
||||
result.get(res);
|
||||
}
|
||||
|
||||
|
||||
void FreeResult()
|
||||
{
|
||||
result.cancel();
|
||||
}
|
||||
|
||||
|
||||
void SetParam(ParamType value)
|
||||
{
|
||||
param = value;
|
||||
}
|
||||
|
||||
|
||||
ParamType GetParam()
|
||||
{
|
||||
return param;
|
||||
}
|
||||
|
||||
|
||||
private:
|
||||
QueryResultFuture result;
|
||||
ParamType param;
|
||||
@@ -80,32 +80,32 @@ class QueryCallback_2
|
||||
{
|
||||
public:
|
||||
QueryCallback_2() {}
|
||||
|
||||
|
||||
void SetFutureResult(QueryResultFuture value)
|
||||
{
|
||||
result = value;
|
||||
}
|
||||
|
||||
|
||||
QueryResultFuture GetFutureResult()
|
||||
{
|
||||
return result;
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
int IsReady()
|
||||
{
|
||||
return result.ready();
|
||||
}
|
||||
|
||||
|
||||
void GetResult(QueryResult& res)
|
||||
{
|
||||
result.get(res);
|
||||
}
|
||||
|
||||
|
||||
void FreeResult()
|
||||
{
|
||||
result.cancel();
|
||||
}
|
||||
|
||||
|
||||
void SetFirstParam(ParamType1 value)
|
||||
{
|
||||
param_1 = value;
|
||||
@@ -115,7 +115,7 @@ class QueryCallback_2
|
||||
{
|
||||
param_2 = value;
|
||||
}
|
||||
|
||||
|
||||
ParamType1 GetFirstParam()
|
||||
{
|
||||
return param_1;
|
||||
@@ -125,7 +125,7 @@ class QueryCallback_2
|
||||
{
|
||||
return param_2;
|
||||
}
|
||||
|
||||
|
||||
private:
|
||||
QueryResultFuture result;
|
||||
ParamType1 param_1;
|
||||
|
||||
Reference in new issue
Block a user