Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
49d0e291
Commit
49d0e291
authored
13 years ago
by
Oz Linden
Browse files
Options
Downloads
Patches
Plain Diff
add templates for use with hg-tools/create.py
parent
18af6e39
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scripts/templates/template-cpp.cpp
+29
-0
29 additions, 0 deletions
scripts/templates/template-cpp.cpp
scripts/templates/template-h.h
+31
-0
31 additions, 0 deletions
scripts/templates/template-h.h
with
60 additions
and
0 deletions
scripts/templates/template-cpp.cpp
0 → 100644
+
29
−
0
View file @
49d0e291
/**
* @file #filename#.cpp
* @brief Implementation of #filename#
* @author #getpass.getuser()#@lindenlab.com
*
* $LicenseInfo:firstyear=#datetime.datetime.now().year#&license=viewerlgpl$
* Second Life Viewer Source Code
* Copyright (C) #datetime.datetime.now().year#, Linden Research, Inc.
*
* This library 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;
* version 2.1 of the License only.
*
* This library 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 Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
* Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
* $/LicenseInfo$
*/
#'%c'%35#include "#filename#.h"
This diff is collapsed.
Click to expand it.
scripts/templates/template-h.h
0 → 100644
+
31
−
0
View file @
49d0e291
/**
* @file #filename#.h
* @brief Header file for #filename#
* @author #getpass.getuser()#@lindenlab.com
*
* $LicenseInfo:firstyear=#datetime.datetime.now().year#&license=viewerlgpl$
* Second Life Viewer Source Code
* Copyright (C) #datetime.datetime.now().year#, Linden Research, Inc.
*
* This library 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;
* version 2.1 of the License only.
*
* This library 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 Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
* Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
* $/LicenseInfo$
*/
#'%c'%35#ifndef LL_#filename.upper().replace('-','_')#_H
#'%c'%35#define LL_#filename.upper().replace('-','_')#_H
#'%c'%35#endif LL_#filename.upper().replace('-','_')#_H
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment