mirror-chatterino2/resources/_generate_resources.py

40 lines
502 B
Python
Raw Normal View History

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