File: variant_template.h.erb

package info (click to toggle)
tagua 1.0~alpha2-15
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 8,028 kB
  • ctags: 7,178
  • sloc: cpp: 26,149; ansic: 13,039; makefile: 182; ruby: 87; sh: 39
file content (16 lines) | stat: -rw-r--r-- 297 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<% vtag = "#{variant.upcase}VARIANT_H" %>
<% cvariant = variant.capitalize %>

#ifndef <%= vtag %>
#define <%= vtag %>

#include "chess.h"

class <%= cvariant %>Variant {
private:
  static VariantInfo* static_<%= variant %>_variant;
public:
  static VariantInfo* info();
};

#endif // <%= vtag %>