[gnome-builder] snippets: add some (L)GPL snippets for c# files.



commit f6e76bceb45b2a733d03c2ca100a4101dc937712
Author: Christian Hergert <christian hergert me>
Date:   Tue Nov 18 15:13:53 2014 -0800

    snippets: add some (L)GPL snippets for c# files.
    
    Someone ought to go through and add these for other languages.

 src/resources/gnome-builder.gresource.xml |    1 +
 src/resources/snippets/c-sharp.snippets   |   40 +++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+), 0 deletions(-)
---
diff --git a/src/resources/gnome-builder.gresource.xml b/src/resources/gnome-builder.gresource.xml
index b31039e..6e1b398 100644
--- a/src/resources/gnome-builder.gresource.xml
+++ b/src/resources/gnome-builder.gresource.xml
@@ -17,6 +17,7 @@
 
     <file>snippets/c.snippets</file>
     <file>snippets/chdr.snippets</file>
+    <file>snippets/c-sharp.snippets</file>
     <file>snippets/python.snippets</file>
     <file>snippets/vala.snippets</file>
 
diff --git a/src/resources/snippets/c-sharp.snippets b/src/resources/snippets/c-sharp.snippets
new file mode 100644
index 0000000..9ac5bf1
--- /dev/null
+++ b/src/resources/snippets/c-sharp.snippets
@@ -0,0 +1,40 @@
+snippet gpl
+       //
+       // ${1:$filename}
+       //
+       // Copyright (C) $year ${2:$fullname} <${3:$email}>
+       //
+       // This program is free software: you can redistribute it and/or modify
+       // it under the terms of the GNU General Public License as published by
+       // the Free Software Foundation, either version 3 of the License, or
+       // (at your option) any later version.
+       //
+       // This program is distributed in the hope that it will be useful,
+       // but WITHOUT ANY WARRANTY; without even the implied warranty of
+       // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+       // GNU General Public License for more details.
+       //
+       // You should have received a copy of the GNU General Public License
+       // along with this program.  If not, see <http://www.gnu.org/licenses/>.
+       //
+       $0
+snippet lgpl
+       //
+       // ${1:$filename}
+       //
+       // Copyright (C) $year ${2:$fullname} <${3:$email}>
+       //
+       // This file is free software; you can redistribute it and/or modify it
+       // under the terms of the GNU Lesser General Public License as
+       // published by the Free Software Foundation; either version 3 of the
+       // License, or (at your option) any later version.
+       //
+       // This file is distributed in the hope that it will be useful, but
+       // WITHOUT ANY WARRANTY; without even the implied warranty of
+       // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+       // Lesser General Public License for more details.
+       //
+       // You should have received a copy of the GNU General Public License
+       // along with this program.  If not, see <http://www.gnu.org/licenses/>.
+       //
+       $0


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]