NETToolSystem.h 849 B

123456789101112131415161718192021222324252627282930313233343536373839
  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 <Atomic/Core/Object.h>
  9. #include <Atomic/Resource/JSONFile.h>
  10. using namespace Atomic;
  11. namespace ToolCore
  12. {
  13. class NETToolSystem : public Object
  14. {
  15. OBJECT(NETToolSystem);
  16. public:
  17. NETToolSystem(Context* context);
  18. virtual ~NETToolSystem();
  19. bool InspectAssembly(const String& pathToAssembly, JSONValue& json);
  20. private:
  21. void HandleProjectLoaded(StringHash eventType, VariantMap& eventData);
  22. typedef const char* (*InpectAssemblyFuctionPtr)(const char* path);
  23. InpectAssemblyFuctionPtr inspectAssemblyFunction_;
  24. };
  25. }