Stanza object creation/deletion now uses the context, but must be done with

a factory function.
This commit is contained in:
Jack Moffitt
2005-08-02 21:07:40 +00:00
parent 1f0ee8df31
commit 2b9e5b61a1
2 changed files with 29 additions and 6 deletions

View File

@@ -40,11 +40,12 @@ namespace XMPP {
xmpp_stanza_t *m_stanza;
void *operator new(size_t size, Context *ctx);
void operator delete(void *p, Context *ctx);
void operator delete(void *p);
Stanza(Context *ctx);
virtual ~Stanza();
public:
static Stanza *create(Context *ctx);
void release();
Stanza *clone();
Stanza *copy();