/* This file is part of the KDE project Copyright (C) 2003 Julian Rockey Copyright (C) 2003 Roberto Raggi This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. 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 Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef KDEVCREATEFILE_H #define KDEVCREATEFILE_H #include #include /** @file kdevcreatefile.h File creation facility interface. */ /** File creation facility interface. An abstract class for all extensions that are responsible for file creation. Instances that implement this interface are available through extension architecture: @code KDevCreateFile *cf = extension("KDevelop/CreateFile"); if (cf) { // do something } else { // fail } @endcode @sa KDevPlugin::extension method documentation. */ class KDevCreateFile : public KDevPlugin { public: /**File created with @ref KDevCreateFile implementation.*/ class CreatedFile { public: /**The status of a file.*/ enum Status { STATUS_OK /**