16 #include <nn/pia/common/common_RootObject.h>
18 #define USE_CANCEL_REQUEST 1 // n1769
100 void SignalSuccess(
Result result);
108 void SignalFailure(
Result result);
112 #if USE_CANCEL_REQUEST
129 #if USE_CANCEL_REQUEST
164 void Complete(
Result result);
175 return m_State == State_CallInProgress;
186 return m_State == State_CallSuccess ||
187 m_State == State_CallFailure ||
188 m_State == State_CallCancelled;
199 void SetState(State state);
209 State GetState()
const
222 void SetResult(
Result result);
237 #if USE_CANCEL_REQUEST
242 bool IsCancelRequested()
const
244 return m_IsCancelRequested;
256 #if USE_CANCEL_REQUEST
257 bool m_IsCancelRequested;
265 typedef CallContext AsyncContext;