summaryrefslogtreecommitdiffabout
path: root/include
authorMichael Krelin <hacker@klever.net>2005-06-11 14:49:35 (UTC)
committer Michael Krelin <hacker@klever.net>2005-06-11 14:49:35 (UTC)
commit621221c40a42683a185b15b99c03fd6c8b6f7d90 (patch) (side-by-side diff)
tree061f1e7a9fb7b16122eed9715c1a180629dbd953 /include
parent01e3789f5b7c3b2c0282b70eb203d11c76d3c8f3 (diff)
downloadsitecing-621221c40a42683a185b15b99c03fd6c8b6f7d90.zip
sitecing-621221c40a42683a185b15b99c03fd6c8b6f7d90.tar.gz
sitecing-621221c40a42683a185b15b99c03fd6c8b6f7d90.tar.bz2
1. added missing include
2. fixed typo in Makefile 3. fixed zero-size output segfault
Diffstat (limited to 'include') (more/less context) (ignore whitespace changes)
-rw-r--r--include/sitecing/acomponent.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sitecing/acomponent.h b/include/sitecing/acomponent.h
index 160e854..461f8a6 100644
--- a/include/sitecing/acomponent.h
+++ b/include/sitecing/acomponent.h
@@ -1,51 +1,52 @@
#ifndef __SITECING_ACOMPONENT_H
#define __SITECING_ACOMPONENT_H
+#include <cstdarg>
#include "sitecing/sitecing_interface.h"
/**
* @file
* @brief The acomponent class declaration.
*/
namespace sitecing {
/**
* An abstract base class for sitecing components.
*/
class acomponent {
public:
/**
* Pointer to the interface object, used to communicate with the
* site-C-ing core.
*/
sitecing_interface *__SCIF;
acomponent();
virtual ~acomponent();
/**
* Set the interface to core pointer.
* @param scif the pointer to the interface object.
*/
virtual void __set_interface(sitecing_interface *scif=0);
/**
* Invoked if the interface to the core has changed.
* @param oscif pointer to the old interface object.
*/
virtual void __on_change_interface(sitecing_interface *oscif);
/**
* do import components.
*/
virtual void __do_imports();
/**
* invoked on components imports.
*/
virtual void __on_imports();
/**
* fetch the pointer to the most derived component.
* @returns pointer to the most derived object.
*/
virtual void *__the_most_derived_this() = 0;