BsAsyncOp.cpp 606 B

123456789101112131415161718
  1. //__________________________ Banshee Project - A modern game development toolkit _________________________________//
  2. //_____________________________________ www.banshee-project.com __________________________________________________//
  3. //________________________ Copyright (c) 2014 Marko Pintera. All rights reserved. ________________________________//
  4. #include "BsAsyncOp.h"
  5. namespace BansheeEngine
  6. {
  7. void AsyncOp::_completeOperation(Any returnValue)
  8. {
  9. mData->mReturnValue = returnValue;
  10. mData->mIsCompleted = true;
  11. }
  12. void AsyncOp::_completeOperation()
  13. {
  14. mData->mIsCompleted = true;
  15. }
  16. }