Advertisement
Guest User

Untitled

a guest
Aug 30th, 2021
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. #pragma once
  2.  
  3. #include "CommandInterface.h"
  4. #include "CommandInterfaceExtended.h"
  5.  
  6. std::string CommandInterfaceExtended::_lastCut;
  7.  
  8. std::shared_ptr<CommandInterface> buildCommandInterface(std::string& text) {
  9.  
  10. CommandInterfaceExtended interface(text);
  11.  
  12. interface.init();
  13.  
  14. auto ptr = std::make_shared<CommandInterface>(interface);
  15.  
  16. return ptr;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement