2008-04-12 Johannes Schmid <jhs@gnome.org>
[anjuta-git-plugin.git] / plugins / macro / macros.xml
blobf486d7f4fc27cf66bc7d87f651865cf3072dd075
1 <?xml version="1.0" encoding="UTF-8"?>
2 <anjuta-macros>
4 <macro _name="Date_Time" _category="Basic" _shortcut=""><![CDATA[@DATE_TIME@|]]></macro>
5 <macro _name="UserName" _category="Basic" _shortcut=""><![CDATA[@USER_NAME@|]]></macro>
7 <macro _name="Header_c" _category="C" _shortcut=""><![CDATA[/***************************************************************************
8  *            @FILE_NAME@
9  *
10  *  @DATE_TIME@
11  *  Copyright  @DATE_Y@  @USER_NAME@
12  *  <@EMAIL@>
13  ****************************************************************************/
15 |]]></macro>
16 <macro _name="Header_h" _category="C" _shortcut=""><![CDATA[#ifndef _@FILE_NAME_UP_PREFIX@_H
17 #define @FILE_NAME_UP_PREFIX@_H
19 #include <glib.h>
21 G_BEGIN_DECLS
25 G_END_DECLS
27 #endif /* @FILE_NAME_UP_PREFIX@_H */
29 |]]></macro>
30 <macro _name="switch" _category="C" _shortcut=""><![CDATA[switch (|)
32         case  :
33                 ;
34                 break;
35         case  :
36                 ;
37                 break;
38         default:
39                 ;
40                 break;
42 ]]></macro>
43 <macro _name="for" _category="C" _shortcut=""><![CDATA[for (|; ; )
45         ;
46 }]]></macro>
47 <macro _name="while" _category="C" _shortcut=""><![CDATA[while (|)
49         ;
50 }]]></macro>
51 <macro _name="do_while" _category="C" _shortcut=""><![CDATA[do
53         |;
55 while ();]]></macro>
56 <macro _name="if...else" _category="C" _shortcut=""><![CDATA[if (|)
58         ;
60 else
62         ;
63 }]]></macro>
65 <macro _name="/* GPL */" _category="Licenses" _shortcut=""><![CDATA[/*
66  * This program is free software; you can redistribute it and/or modify
67  * it under the terms of the GNU General Public License as published by
68  * the Free Software Foundation; either version 2 of the License, or
69  * (at your option) any later version.
70  * 
71  * This program is distributed in the hope that it will be useful,
72  * but WITHOUT ANY WARRANTY; without even the implied warranty of
73  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
74  * GNU Library General Public License for more details.
75  * 
76  * You should have received a copy of the GNU General Public License
77  * along with this program; if not, write to the Free Software
78  * Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301,  USA
79  */
81 | ]]></macro>
82 <macro _name="// GPL" _category="Licenses" _shortcut=""><![CDATA[// This program is free software; you can redistribute it and/or modify
83 // it under the terms of the GNU General Public License as published by
84 // the Free Software Foundation; either version 2 of the License, or
85 // (at your option) any later version.
86 // 
87 // This program is distributed in the hope that it will be useful,
88 // but WITHOUT ANY WARRANTY; without even the implied warranty of
89 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
90 // GNU Library General Public License for more details.
91 // 
92 // You should have received a copy of the GNU General Public License
93 // along with this program; if not, write to the Free Software
94 // Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301,  USA
96 | ]]></macro>
97 <macro _name="# GPL" _category="Licenses" _shortcut=""><![CDATA[# This program is free software; you can redistribute it and/or modify
98 # it under the terms of the GNU General Public License as published by
99 # the Free Software Foundation; either version 2 of the License, or
100 # (at your option) any later version.
102 # This program is distributed in the hope that it will be useful,
103 # but WITHOUT ANY WARRANTY; without even the implied warranty of
104 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
105 # GNU Library General Public License for more details.
107 # You should have received a copy of the GNU General Public License
108 # along with this program; if not, write to the Free Software
109 # Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301,  USA
111 | ]]></macro>
113 <macro _name="/* LGPL */" _category="Licenses" _shortcut=""><![CDATA[/*
114  * This program is free software; you can redistribute it and/or
115  * modify it under the terms of the GNU Lesser General Public
116  * License as published by the Free Software Foundation; either
117  * version 2.1 of the License, or (at your option) any later version.
118  * 
119  * This program is distributed in the hope that it will be useful,
120  * but WITHOUT ANY WARRANTY; without even the implied warranty of
121  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
122  * Lesser General Public License for more details.
123  * 
124  * You should have received a copy of the GNU Lesser General Public
125  * License along with main.c; if not, write to the Free Software
126  * Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301,  USA
127  */
129 | ]]></macro>
130 <macro _name="// LGPL" _category="Licenses" _shortcut=""><![CDATA[// This program is free software; you can redistribute it and/or
131 // modify it under the terms of the GNU Lesser General Public
132 // License as published by the Free Software Foundation; either
133 // version 2.1 of the License, or (at your option) any later version.
134 // 
135 // This program is distributed in the hope that it will be useful,
136 // but WITHOUT ANY WARRANTY; without even the implied warranty of
137 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
138 // Lesser General Public License for more details.
139 // 
140 // You should have received a copy of the GNU Lesser General Public
141 // License along with main.c; if not, write to the Free Software
142 // Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301,  USA
144 | ]]></macro>
145 <macro _name="# LGPL" _category="Licenses" _shortcut=""><![CDATA[# This program is free software; you can redistribute it and/or modify
146 #  This program is free software; you can redistribute it and/or
147 #  modify it under the terms of the GNU Lesser General Public
148 #  License as published by the Free Software Foundation; either
149 #  version 2.1 of the License, or (at your option) any later version.
150 #  
151 #  This program is distributed in the hope that it will be useful,
152 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
153 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
154 #  Lesser General Public License for more details.
155 #  
156 #  You should have received a copy of the GNU Lesser General Public
157 #  License along with main.c;if not, write to the Free Software
158 #  Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301,  USA
160 | ]]></macro>
162 <macro _name="cvs_author" _category="CVS" _shortcut=""><![CDATA[Author:|]]></macro>
163 <macro _name="cvs_date" _category="CVS" _shortcut=""><![CDATA[Date:|]]></macro>
164 <macro _name="cvs_header" _category="CVS" _shortcut=""><![CDATA[Header:|]]></macro>
165 <macro _name="cvs_id" _category="CVS" _shortcut=""><![CDATA[Id:|]]></macro>
166 <macro _name="cvs_log" _category="CVS" _shortcut=""><![CDATA[Log:|]]></macro>
167 <macro _name="cvs_name" _category="CVS" _shortcut=""><![CDATA[Name:|]]></macro>
168 <macro _name="cvs_revision" _category="CVS" _shortcut=""><![CDATA[Revision:|]]></macro>
169 <macro _name="cvs_source" _category="CVS" _shortcut=""><![CDATA[Source:|]]></macro>
171 <macro _name="Copyright" _category="Ext." _shortcut=""><![CDATA[Copyright  @DATE_Y@  @USER_NAME@
172 |]]></macro>
173 <macro _name="Changelog" _category="Ext." _shortcut=""><![CDATA[@DATE_YMD@  @USER_NAME@  <@EMAIL@>
174 |]]></macro>
175 <macro _name="C_Custom_Indent" _category="Ext." _shortcut=""><![CDATA[/* -*- Mode: C; @USETABS@; @INDENTSIZE@; @TABSIZE@ -*- */
176 |]]></macro>
177 <macro _name="Header_cpp" _category="Ext." _shortcut=""><![CDATA[//           @FILE_NAME@
178 //  @DATE_TIME@
179 //  Copyright  @DATE_Y@  @USER_NAME@
180 //  <@EMAIL@>
182 |]]></macro>
183 <macro _name="Header_csharp" _category="Ext." _shortcut=""><![CDATA[// <file>
184 //     <copyright see="prj:///doc/copyright.txt"/>
185 //     <license see="prj:///doc/license.txt"/>
186 //     <owner name="@USER_NAME@"  email="@EMAIL@"/>
187 //     <version value="version"/>
188 // </file>
190 |]]></macro>
191 <macro _name="Header_perl" _category="Ext." _shortcut=""><![CDATA[#!/usr/bin/perl -w
193 #           @FILE_NAME@
194 #  @DATE_TIME@
195 #  Copyright  @DATE_Y@  @USER_NAME@
196 #  <@EMAIL@>
198 |]]></macro>
199 <macro _name="Header_shell" _category="Ext." _shortcut=""><![CDATA[#!/bin/sh 
201 #           @FILE_NAME@
202 #  @DATE_TIME@
203 #  Copyright  @DATE_Y@  @USER_NAME@
204 #  <@EMAIL@>
206 |]]></macro>
208 </anjuta-macros>