Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Archive
anjuta
Commits
1512fa26
Commit
1512fa26
authored
Jul 12, 2009
by
Sebastien Granjoux
Browse files
bgo #575147 – Headers of new C++/GObject classes have wrong copyright and license notices.
Change all project wizard headers instead
parent
913c73c7
Changes
19
Hide whitespace changes
Inline
Side-by-side
plugins/project-wizard/templates/anjuta-plugin-vala/src/config.vapi
View file @
1512fa26
...
...
@@ -4,9 +4,9 @@
* Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
*
[+CASE (get "License") +]
[+ == "BSD" +][+(bsd
"plugin.h"
(get "Author") " * ")+]
[+ == "LGPL" +][+(lgpl
"plugin.h"
(get "Author") " * ")+]
[+ == "GPL" +][+(gpl
"plugin.h"
" * ")+]
[+ == "BSD" +][+(bsd
(get "Name")
(get "Author") " * ")+]
[+ == "LGPL" +][+(lgpl
(get "Name")
(get "Author") " * ")+]
[+ == "GPL" +][+(gpl
(get "Name")
" * ")+]
[+ESAC+] */
[CCode (cprefix = "", lower_case_cprefix = "", cheader_filename = "config.h")]
...
...
plugins/project-wizard/templates/anjuta-plugin-vala/src/plugin.vala
View file @
1512fa26
...
...
@@ -4,9 +4,9 @@
* Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
*
[+CASE (get "License") +]
[+ == "BSD" +][+(bsd
"plugin.c"
(get "Author") " * ")+]
[+ == "LGPL" +][+(lgpl
"plugin.c"
(get "Author") " * ")+]
[+ == "GPL" +][+(gpl
"plugin.c"
" * ")+]
[+ == "BSD" +][+(bsd
(get "Name")
(get "Author") " * ")+]
[+ == "LGPL" +][+(lgpl
(get "Name")
(get "Author") " * ")+]
[+ == "GPL" +][+(gpl
(get "Name")
" * ")+]
[+ESAC+] */
using
GLib
;
...
...
plugins/project-wizard/templates/anjuta-plugin/src/plugin.c
View file @
1512fa26
...
...
@@ -5,9 +5,9 @@
* Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
*
[+CASE (get "License") +]
[+ == "BSD" +][+(bsd
"plugin.c"
(get "Author") " * ")+]
[+ == "LGPL" +][+(lgpl
"plugin.c"
(get "Author") " * ")+]
[+ == "GPL" +][+(gpl
"plugin.c"
" * ")+]
[+ == "BSD" +][+(bsd
(get "Name")
(get "Author") " * ")+]
[+ == "LGPL" +][+(lgpl
(get "Name")
(get "Author") " * ")+]
[+ == "GPL" +][+(gpl
(get "Name")
" * ")+]
[+ESAC+] */
#include
<config.h>
...
...
plugins/project-wizard/templates/anjuta-plugin/src/plugin.h
View file @
1512fa26
...
...
@@ -5,9 +5,9 @@
* Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
*
[+CASE (get "License") +]
[+ == "BSD" +][+(bsd
"plugin.h"
(get "Author") " * ")+]
[+ == "LGPL" +][+(lgpl
"plugin.h"
(get "Author") " * ")+]
[+ == "GPL" +][+(gpl
"plugin.h"
" * ")+]
[+ == "BSD" +][+(bsd
(get "Name")
(get "Author") " * ")+]
[+ == "LGPL" +][+(lgpl
(get "Name")
(get "Author") " * ")+]
[+ == "GPL" +][+(gpl
(get "Name")
" * ")+]
[+ESAC+] */
#ifndef _[+NameCUpper+]_H_
...
...
plugins/project-wizard/templates/cpp/src/main.cc
View file @
1512fa26
...
...
@@ -5,9 +5,9 @@
* Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
*
[+CASE (get "License") +]
[+ == "BSD" +][+(bsd
"main.cc"
(get "Author") " * ")+]
[+ == "LGPL" +][+(lgpl
"main.cc"
(get "Author") " * ")+]
[+ == "GPL" +][+(gpl
"main.cc"
" * ")+]
[+ == "BSD" +][+(bsd
(get "Name")
(get "Author") " * ")+]
[+ == "LGPL" +][+(lgpl
(get "Name")
(get "Author") " * ")+]
[+ == "GPL" +][+(gpl
(get "Name")
" * ")+]
[+ESAC+] */
#include
<iostream>
...
...
plugins/project-wizard/templates/gnome-applet/src/main.c
View file @
1512fa26
...
...
@@ -5,9 +5,9 @@
* Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
*
[+CASE (get "License") +]
[+ == "BSD" +][+(bsd
"main.c"
(get "Author") " * ")+]
[+ == "LGPL" +][+(lgpl
"main.c"
(get "Author") " * ")+]
[+ == "GPL" +][+(gpl
"main.c"
" * ")+]
[+ == "BSD" +][+(bsd
(get "Name")
(get "Author") " * ")+]
[+ == "LGPL" +][+(lgpl
(get "Name")
(get "Author") " * ")+]
[+ == "GPL" +][+(gpl
(get "Name")
" * ")+]
[+ESAC+] */
#ifdef HAVE_CONFIG_H
...
...
plugins/project-wizard/templates/gtk/src/callbacks.c
View file @
1512fa26
...
...
@@ -5,9 +5,9 @@
* Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
*
[+CASE (get "License") +]
[+ == "BSD" +][+(bsd
"callbacks.c"
(get "Author") " * ")+]
[+ == "LGPL" +][+(lgpl
"callbacks.c"
(get "Author") " * ")+]
[+ == "GPL" +][+(gpl
"callbacks.c"
" * ")+]
[+ == "BSD" +][+(bsd
(get "Name")
(get "Author") " * ")+]
[+ == "LGPL" +][+(lgpl
(get "Name")
(get "Author") " * ")+]
[+ == "GPL" +][+(gpl
(get "Name")
" * ")+]
[+ESAC+] */
#ifdef HAVE_CONFIG_H
...
...
plugins/project-wizard/templates/gtk/src/callbacks.h
View file @
1512fa26
...
...
@@ -5,9 +5,9 @@
* Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
*
[+CASE (get "License") +]
[+ == "BSD" +][+(bsd
"callbacks.h"
(get "Author") " * ")+]
[+ == "LGPL" +][+(lgpl
"callbacks.h"
(get "Author") " * ")+]
[+ == "GPL" +][+(gpl
"callbacks.h"
" * ")+]
[+ == "BSD" +][+(bsd
(get "Name")
(get "Author") " * ")+]
[+ == "LGPL" +][+(lgpl
(get "Name")
(get "Author") " * ")+]
[+ == "GPL" +][+(gpl
(get "Name")
" * ")+]
[+ESAC+] */
#include
<gtk/gtk.h>
...
...
plugins/project-wizard/templates/gtk/src/main.c
View file @
1512fa26
...
...
@@ -5,9 +5,9 @@
* Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
*
[+CASE (get "License") +]
[+ == "BSD" +][+(bsd
"main.c"
(get "Author") " * ")+]
[+ == "LGPL" +][+(lgpl
"main.c"
(get "Author") " * ")+]
[+ == "GPL" +][+(gpl
"main.c"
" * ")+]
[+ == "BSD" +][+(bsd
(get "Name")
(get "Author") " * ")+]
[+ == "LGPL" +][+(lgpl
(get "Name")
(get "Author") " * ")+]
[+ == "GPL" +][+(gpl
(get "Name")
" * ")+]
[+ESAC+] */
#include
<sys/types.h>
...
...
plugins/project-wizard/templates/gtkmm/src/main.cc
View file @
1512fa26
...
...
@@ -5,9 +5,9 @@
* Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
*
[+CASE (get "License") +]
[+ == "BSD" +][+(bsd
"main.cc"
(get "Author") " * ")+]
[+ == "LGPL" +][+(lgpl
"main.cc"
(get "Author") " * ")+]
[+ == "GPL" +][+(gpl
"main.cc"
" * ")+]
[+ == "BSD" +][+(bsd
(get "Name")
(get "Author") " * ")+]
[+ == "LGPL" +][+(lgpl
(get "Name")
(get "Author") " * ")+]
[+ == "GPL" +][+(gpl
(get "Name")
" * ")+]
[+ESAC+] */
#include
<libglademm/xml.h>
...
...
plugins/project-wizard/templates/java/src/main.java
View file @
1512fa26
...
...
@@ -5,9 +5,9 @@
* Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
*
[+CASE (get "License") +]
[+ == "BSD" +][+(bsd
"main.java"
(get "Author") " * ")+]
[+ == "LGPL" +][+(lgpl
"main.java"
(get "Author") " * ")+]
[+ == "GPL" +][+(gpl
"main.java"
" * ")+]
[+ == "BSD" +][+(bsd
(get "Name")
(get "Author") " * ")+]
[+ == "LGPL" +][+(lgpl
(get "Name")
(get "Author") " * ")+]
[+ == "GPL" +][+(gpl
(get "Name")
" * ")+]
[+ESAC+] */
class
[+
MainClass
+]
{
...
...
plugins/project-wizard/templates/python/src/main.py
View file @
1512fa26
...
...
@@ -5,9 +5,9 @@
# Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
#
[
+
CASE
(
get
"License"
)
+
]
[
+
==
"BSD"
+
][
+
(
bsd
"main.py"
(
get
"Author"
)
"# "
)
+
]
[
+
==
"LGPL"
+
][
+
(
lgpl
"main.py"
(
get
"Author"
)
"# "
)
+
]
[
+
==
"GPL"
+
][
+
(
gpl
"main.py"
"# "
)
+
]
[
+
==
"BSD"
+
][
+
(
bsd
(
get
"Name"
)
(
get
"Author"
)
"# "
)
+
]
[
+
==
"LGPL"
+
][
+
(
lgpl
(
get
"Name"
)
(
get
"Author"
)
"# "
)
+
]
[
+
==
"GPL"
+
][
+
(
gpl
(
get
"Name"
)
"# "
)
+
]
[
+
ESAC
+
]
print
"Hello World!"
plugins/project-wizard/templates/sdl/src/main.c
View file @
1512fa26
...
...
@@ -4,9 +4,9 @@
* Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
*
[+CASE (get "License") +]
[+ == "BSD" +][+(bsd
"main.c"
(get "Author") "\t")+]
[+ == "LGPL" +][+(lgpl
"main.c"
(get "Author") "\t")+]
[+ == "GPL" +][+(gpl
"main.c"
"\t")+]
[+ == "BSD" +][+(bsd
(get "Name")
(get "Author") "\t")+]
[+ == "LGPL" +][+(lgpl
(get "Name")
(get "Author") "\t")+]
[+ == "GPL" +][+(gpl
(get "Name")
"\t")+]
[+ESAC+] */
/*Program closes with a mouse click or keypress */
...
...
plugins/project-wizard/templates/terminal/src/main.c
View file @
1512fa26
...
...
@@ -5,9 +5,9 @@
* Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
*
[+CASE (get "License") +]
[+ == "BSD" +][+(bsd
"main.c"
(get "Author") " * ")+]
[+ == "LGPL" +][+(lgpl
"main.c"
(get "Author") " * ")+]
[+ == "GPL" +][+(gpl
"main.c"
" * ")+]
[+ == "BSD" +][+(bsd
(get "Name")
(get "Author") " * ")+]
[+ == "LGPL" +][+(lgpl
(get "Name")
(get "Author") " * ")+]
[+ == "GPL" +][+(gpl
(get "Name")
" * ")+]
[+ESAC+] */
#include
<stdio.h>
...
...
plugins/project-wizard/templates/wxwin/src/main.cc
View file @
1512fa26
...
...
@@ -4,9 +4,9 @@
* Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
*
[+CASE (get "License") +]
[+ == "BSD" +][+(bsd
"main.cc"
(get "Author") "\t")+]
[+ == "LGPL" +][+(lgpl
"main.cc"
(get "Author") "\t")+]
[+ == "GPL" +][+(gpl
"main.cc"
"\t")+]
[+ == "BSD" +][+(bsd
(get "Name")
(get "Author") "\t")+]
[+ == "LGPL" +][+(lgpl
(get "Name")
(get "Author") "\t")+]
[+ == "GPL" +][+(gpl
(get "Name")
"\t")+]
[+ESAC+] */
#ifdef HAVE_CONFIG_H
...
...
plugins/project-wizard/templates/xlib-dock/src/main.c
View file @
1512fa26
...
...
@@ -4,9 +4,9 @@
* Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
*
[+CASE (get "License") +]
[+ == "BSD" +][+(bsd
"main.c"
(get "Author") "\t")+]
[+ == "LGPL" +][+(lgpl
"main.c"
(get "Author") "\t")+]
[+ == "GPL" +][+(gpl
"main.c"
"\t")+]
[+ == "BSD" +][+(bsd
(get "Name")
(get "Author") "\t")+]
[+ == "LGPL" +][+(lgpl
(get "Name")
(get "Author") "\t")+]
[+ == "GPL" +][+(gpl
(get "Name")
"\t")+]
[+ESAC+] */
#ifdef HAVE_CONFIG_H
...
...
plugins/project-wizard/templates/xlib-dock/src/wmgeneral.c
View file @
1512fa26
...
...
@@ -4,9 +4,9 @@
* Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
*
[+CASE (get "License") +]
[+ == "BSD" +][+(bsd
"wmgeneral.c"
(get "Author") "\t")+]
[+ == "LGPL" +][+(lgpl
"wmgeneral.c"
(get "Author") "\t")+]
[+ == "GPL" +][+(gpl
"wmgeneral.c"
"\t")+]
[+ == "BSD" +][+(bsd
(get "Name")
(get "Author") "\t")+]
[+ == "LGPL" +][+(lgpl
(get "Name")
(get "Author") "\t")+]
[+ == "GPL" +][+(gpl
(get "Name")
"\t")+]
[+ESAC+] */
/* wmgeneral was taken from wmppp.
...
...
plugins/project-wizard/templates/xlib-dock/src/wmgeneral.h
View file @
1512fa26
...
...
@@ -4,9 +4,9 @@
* Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
*
[+CASE (get "License") +]
[+ == "BSD" +][+(bsd
"wmgeneral.h"
(get "Author") "\t")+]
[+ == "LGPL" +][+(lgpl
"wmgeneral.h"
(get "Author") "\t")+]
[+ == "GPL" +][+(gpl
"wmgeneral.h"
"\t")+]
[+ == "BSD" +][+(bsd
(get "Name")
(get "Author") "\t")+]
[+ == "LGPL" +][+(lgpl
(get "Name")
(get "Author") "\t")+]
[+ == "GPL" +][+(gpl
(get "Name")
"\t")+]
[+ESAC+] */
#ifndef WMGENERAL_H_INCLUDED
...
...
plugins/project-wizard/templates/xlib/src/main.c
View file @
1512fa26
...
...
@@ -4,9 +4,9 @@
* Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
*
[+CASE (get "License") +]
[+ == "BSD" +][+(bsd
"main.c"
(get "Author") "\t")+]
[+ == "LGPL" +][+(lgpl
"main.c"
(get "Author") "\t")+]
[+ == "GPL" +][+(gpl
"main.c"
"\t")+]
[+ == "BSD" +][+(bsd
(get "Name")
(get "Author") "\t")+]
[+ == "LGPL" +][+(lgpl
(get "Name")
(get "Author") "\t")+]
[+ == "GPL" +][+(gpl
(get "Name")
"\t")+]
[+ESAC+] */
/*Program closes with a mouse click or keypress */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment