BuildCmd.h 712 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. //
  2. // Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
  3. // LICENSE: Atomic Game Engine Editor and Tools EULA
  4. // Please see LICENSE_ATOMIC_EDITOR_AND_TOOLS.md in repository root for
  5. // license information: https://github.com/AtomicGameEngine/AtomicGameEngine
  6. //
  7. #pragma once
  8. #include "Command.h"
  9. using namespace Atomic;
  10. namespace ToolCore
  11. {
  12. class BuildCmd: public Command
  13. {
  14. OBJECT(BuildCmd);
  15. public:
  16. BuildCmd(Context* context);
  17. virtual ~BuildCmd();
  18. bool Parse(const Vector<String>& arguments, unsigned startIndex, String& errorMsg);
  19. void Run();
  20. private:
  21. void HandleBuildComplete(StringHash eventType, VariantMap& eventData);
  22. String buildPlatform_;
  23. };
  24. }