added initial tmpl files

This commit is contained in:
Josh Holtrop 2010-05-03 16:22:55 -04:00
parent beab28d7b6
commit 7756bd696b
2 changed files with 41 additions and 0 deletions

18
tmpl/parser.cc Normal file
View File

@ -0,0 +1,18 @@
#include <iostream>
#include I_HEADER_NAME
using namespace std;
#ifdef I_NAMESPACE
namespace I_NAMESPACE {
#endif
void parse(istream & i)
{
}
#ifdef I_NAMESPACE
};
#endif

23
tmpl/parser.h Normal file
View File

@ -0,0 +1,23 @@
#ifndef IMBECILE_PARSER_HEADER
#define IMBECILE_PARSER_HEADER
#include <iostream>
#ifdef I_NAMESPACE
namespace I_NAMESPACE {
#endif
class I_CLASSNAME
{
public:
void parse(std::istream & in);
protected:
};
#ifdef I_NAMESPACE
};
#endif
#endif /* IMBECILE_PARSER_HEADER */