// // aegis - project change supervisor // Copyright (C) 2012 Peter Miller // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 3 of the License, or (at // your option) any later version. // // This program 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 // General Public License for more details. // // You should have received a copy of the GNU General Public License along // with this program. If not, see . // #ifndef AEMAKEGEN_PROCESS_ITEM_AEGIS_LIB_ELSE_H #define AEMAKEGEN_PROCESS_ITEM_AEGIS_LIB_ELSE_H #include /** * The process_item_aegis_lib_else class is used to represent * the aegis-specific default processing required for "lib/" files. */ class process_item_aegis_lib_else: public process_item { public: typedef aegis_shared_ptr pointer; /** * The destructor. */ virtual ~process_item_aegis_lib_else(); /** * The create class method is used to create new dynamically * allocated instances of this class. * * @param filename * The name of the file of interest. */ static pointer create(target &tgt); protected: // See base class for documentation. bool condition(const nstring &filename); // See base class for documentation. void preprocess(const nstring &filename); private: /** * The constructor. * It is private on purpose, use the #create class method instead. * * @param filename * The name of the file of interest. */ process_item_aegis_lib_else(target &tgt); /** * The default constructor. * Do not use. */ process_item_aegis_lib_else(); /** * The copy constructor. * Do not use. * * @param rhs * The right hand side of the initialization. */ process_item_aegis_lib_else(const process_item_aegis_lib_else &rhs); /** * The assignment operator. * Do not use. * * @param rhs * The right hand side of the assignment. */ process_item_aegis_lib_else &operator=( const process_item_aegis_lib_else &rhs); }; // vim: set ts=8 sw=4 et : #endif // AEMAKEGEN_PROCESS_ITEM_AEGIS_LIB_ELSE_H