// Aseprite Code Generator // Copyright (c) 2014, 2015 David Capello // // This file is released under the terms of the MIT license. // Read LICENSE.txt for more information. #ifndef GEN_COMMON_H_INCLUDED #define GEN_COMMON_H_INCLUDED #pragma once #include #include inline std::string convert_xmlid_to_cppid(const std::string& xmlid, bool firstLetterUpperCase) { bool firstLetter = firstLetterUpperCase; std::string cppid; for (std::size_t i=0; i