mirror-chatterino2/resources/_generate_resources.py
Daniel Sage 77e9a40bb4
Automatically place newlines at end of generated files (#3751)
Co-authored-by: Kasia <zneix@zneix.eu>
2022-05-22 20:59:05 +00:00

40 lines
502 B
Python

resources_header = \
'''<RCC>
<qresource prefix="/">'''
resources_footer = \
''' </qresource>
</RCC>\n'''
header_header = \
'''#include <QPixmap>
#include "common/Singleton.hpp"
namespace chatterino {
class Resources2 : public Singleton
{
public:
Resources2();
'''
header_footer = \
'''};
} // namespace chatterino\n'''
source_header = \
'''#include "ResourcesAutogen.hpp"
namespace chatterino {
Resources2::Resources2()
{
'''
source_footer = \
'''}
} // namespace chatterino\n'''