Add rest of file templates

This commit is contained in:
Henrik Lissner
2015-06-24 15:32:34 +02:00
parent a42c869d1d
commit f05850767c
43 changed files with 1135 additions and 47 deletions

View File

@@ -0,0 +1,16 @@
# -*- mode: snippet -*-
# group: file templates
# contributor: Henrik Lissner
# --
/**
* @file
* @author `user-full-name` <`user-mail-address`>
* @version ${1:0.1}
* @since $1 @ `(format-time-string "%Y-%m-%d")`
*
* @section DESCRIPTION
*
* ${2:Some description of this file}
*/
$0

View File

@@ -0,0 +1,10 @@
# -*- mode: snippet -*-
# group: file templates
# contributor: Henrik Lissner
# --
#ifndef ${1:__`(upcase (f-base buffer-file-name))`_H_$(upcase yas-text)}
#define $1
$0
#endif // $1

View File

@@ -0,0 +1,25 @@
# -*- mode: snippet -*-
# group: file templates
# contributor: Henrik Lissner
# --
/**
* @file
* @author `user-full-name` <`user-mail-address`>
* @version ${1:0.1}
*
* @section DESCRIPTION
*
* ${2:Some description of this file}
*/
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main(int argc, char *argv[]) {
$0
return 0;
}

View File

@@ -0,0 +1,23 @@
# -*- mode: snippet -*-
# group: file templates
# contributor: Henrik Lissner
# --
/**
* @file
* @author `user-full-name` <`user-mail-address`>
* @version ${1:0.1}
* @since $1 @ `(format-time-string "%Y-%m-%d")`
*
* @section DESCRIPTION
*
* ${2:Some description of this file}
*/
#include <Windows.h>
int CALLBACK WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
{
$0
return 0;
}