Update of /cvsroot/eas-dev/eas-dev/libs/libsxmlstream/include
In directory sc8-pr-cvs1:/tmp/cvs-serv23957/libs/libsxmlstream/include
Modified Files:
sxmlhandler.hxx sxmlstream.hxx
Log Message:
Improved openeas.rdb building (w/ site common.rdb); some minor additions to
`logger' components; misc changes at the rest
Index: sxmlhandler.hxx
===================================================================
RCS file: /cvsroot/eas-dev/eas-dev/libs/libsxmlstream/include/sxmlhandler.hxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- sxmlhandler.hxx 3 Feb 2003 09:06:52 -0000 1.2
+++ sxmlhandler.hxx 8 Feb 2003 08:23:48 -0000 1.3
@@ -39,8 +39,18 @@
~SXmlHandler() {};
void handle(const SXmlNode& node);
- void handle_cc(const SXmlNode& node, SXmlCont& cc);
+
+ void connect(SXmlStream& s)
+ {
+ s.Received.connect(&this,&SXmlHandler::handle);
+ }
+
+ void disconnect(SXmlStream& s)
+ {
+ s.disconnect(&this);
+ }
};
+
}; };
Index: sxmlstream.hxx
===================================================================
RCS file: /cvsroot/eas-dev/eas-dev/libs/libsxmlstream/include/sxmlstream.hxx,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- sxmlstream.hxx 3 Feb 2003 18:59:38 -0000 1.9
+++ sxmlstream.hxx 8 Feb 2003 08:23:48 -0000 1.10
@@ -22,8 +22,10 @@
#define _LIBSXMLSTREAM_SXMLSTREAM_HXX_
#include <queue>
+#include <sigslot.h>
+
#include <sxml.hxx>
-//#include <sxmlhandler.hxx>
+
using namespace std;
@@ -36,6 +38,8 @@
queue<SXmlNode> m_queue;
public:
+ signal1<SXmlNode> Received;
+
bool queueIsEmpty();
SXmlNode pop();
@@ -67,5 +71,7 @@
};
}; };
+
+#include <sxmlhandler.hxx>
#endif /* _LIBSXMLSTREAM_SXMLSTREAM_HXX_ */
|