filetemplate.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef _FILETEMPLATE_H_
00021 #define _FILETEMPLATE_H_
00022
00023 #include <qstring.h>
00024
00025 class KDevPlugin;
00026
00027
00028 class FileTemplate
00029 {
00030 public:
00031
00032 typedef enum { Default, Custom } Policy;
00038 static bool exists(KDevPlugin *part, const QString &name, Policy p = Default);
00044 static QString read(KDevPlugin *part, const QString &name, Policy p = Default);
00050 static QString readFile(KDevPlugin *part, const QString &fileName);
00056 static bool copy(KDevPlugin *part, const QString &name,
00057 const QString &dest, Policy p = Default);
00062 static QString fullPathForName(KDevPlugin *part, const QString &name, Policy p = Default);
00063 };
00064
00065 #endif
This file is part of the documentation for KDevelop Version 3.1.2.