templates, and variables therein

Chandler Chandler
Fri Apr 20 22:38:07 UTC 2001


I'm trying to setup templates for my header files so that they do as follows:


//
//	foo.h
//
//	comments, copyright stuff
//

#ifndef		_foo_header_
#define		_foo_header_




.....



#endif	//	_foo_header_



my problem lies in that |FILENAME| in a template inserts both the base "foo" 
and the ".h" which is invalid in a #define. Are there more un-documented 
variables to the template files and/or are there ways to script a template 
file to remove the last 2 characters from |FILENAME| without changing the 
programming of Kdevelop?


If you can be of any help, i'd appreciate it.

-i

-
to unsubscribe from this list send an email to kdevelop-devel-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop-devel mailing list