summaryrefslogtreecommitdiffabout
path: root/include/sitecing
authorMichael Krelin <hacker@klever.net>2005-04-03 13:07:33 (UTC)
committer Michael Krelin <hacker@klever.net>2005-04-03 13:07:33 (UTC)
commit197174ead5e273bd0c8684d92752e1e8599d6656 (patch) (side-by-side diff)
tree7f464c0fd17593e723b13766307c54ceb0ee326f /include/sitecing
parentf2ddc6833252f106cf9aa589bc13216ba25ee4e6 (diff)
downloadsitecing-197174ead5e273bd0c8684d92752e1e8599d6656.zip
sitecing-197174ead5e273bd0c8684d92752e1e8599d6656.tar.gz
sitecing-197174ead5e273bd0c8684d92752e1e8599d6656.tar.bz2
yet another fix to handling dependencies
Diffstat (limited to 'include/sitecing') (more/less context) (ignore whitespace changes)
-rw-r--r--include/sitecing/component_factory.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sitecing/component_factory.h b/include/sitecing/component_factory.h
index a208ed1..9ddf70d 100644
--- a/include/sitecing/component_factory.h
+++ b/include/sitecing/component_factory.h
@@ -33,48 +33,52 @@ namespace sitecing {
*/
string root_so;
/**
* Reference to the configuration container.
*/
configuration& config;
/**
* @param c reference to the configuration container.
*/
component_factory(configuration& c);
/**
* @overload file_factory::get_dependencies()
*/
virtual void get_dependencies(const string& dst,file_list_t& deps);
/**
* @overload file_factory::is_uptodate()
*/
virtual bool is_uptodate(const string& dst,file_list_t *deps=NULL);
/**
* @overload file_factory::build()
*/
virtual void build(const string& dst);
+ /**
+ * @overload file_factory::make()
+ */
+ virtual void make(const string& dst);
/**
* Helper function for executing external command.
* @param cmd the command to execute.
* @param args the command line arguments.
* @param stdo stdout for the child process.
* @param stde stderr for the child process.
* @return exit code.
*/
int execute(const string& cmd,const list<string>& args,int stdo,int stde);
/**
* Fetch the class name of the component.
* @param component the component.
* @return the class name.
*/
string get_classname(const string& component);
/**
* Get the components from which the target component has been
* derived.
* @param component the target component
* @param rv where to store the list of ancestors.
*/
void get_ancestors(const string& component,file_list_t &rv);
};