~ubuntu-branches/ubuntu/utopic/kdevelop/utopic-proposed

« back to all changes in this revision

Viewing changes to file_templates/common/cpp_header.h

  • Committer: Package Import Robot
  • Author(s): Rohan Garg
  • Date: 2013-11-04 16:02:55 UTC
  • mfrom: (1.7.18)
  • Revision ID: package-import@ubuntu.com-20131104160255-2c0ve1quekwwb9hs
Tags: 4:4.5.2-0ubuntu1
* New upstream release
* Bump required version of kdevplatform-dev to 1.5.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
{% load kdev_filters %}
2
2
{% block license_header %}
 
3
{% if license %}
3
4
/*
4
5
 
5
6
 {{ license|lines_prepend:" * " }}
6
7
 */
 
8
{% endif %}
7
9
{% endblock license_header %}
8
10
 
9
11
 
38
40
{% if public_members or public_functions %}
39
41
public:
40
42
{% endif %}
 
43
    {% if public_functions %}
41
44
    {% for method in public_functions %}
42
45
    {% include "method_declaration_cpp.txt" %}
43
46
    {% endfor %}
44
 
 
45
 
 
 
47
    {% endif %}
 
48
    {% if public_members %}
46
49
    {% for member in public_members %}
47
50
    {{ member.type }} {{ member.name }};
48
51
    {% endfor %}
49
 
 
50
 
 
 
52
    {% endif %}
51
53
{% if protected_members or protected_functions %}
52
54
protected:
53
55
{% endif %}
 
56
    {% if protected_functions %}
54
57
    {% for method in protected_functions %}
55
58
    {% include "method_declaration_cpp.txt" %}
56
59
    {% endfor %}
57
 
 
58
 
 
 
60
    {% endif %}
 
61
    {% if protected_members %}
59
62
    {% for member in protected_members %}
60
63
    {{ member.type }} {{ member.name }};
61
64
    {% endfor %}
62
 
 
63
 
 
 
65
    {% endif %}
64
66
{% if private_members or private_functions %}
65
67
private:
66
68
{% endif %}
 
69
    {% if private_functions %}
67
70
    {% for method in private_functions %}
68
71
    {% include "method_declaration_cpp.txt" %}
69
72
    {% endfor %}
70
 
 
71
 
 
 
73
    {% endif %}
72
74
    {% for member in private_members %}
73
75
    {{ member.type }} {{ member.name }};
74
76
    {% endfor %}
75
 
 
76
77
{% endblock class_body %}
77
 
 
78
78
{% block class_bottom %}
79
79
{% endblock %}
80
 
 
81
80
{% block class_declaration_close %}
82
81
};
83
82
{% endblock %}