cvs: php4 /ext/qtdom qtdom_qt.h
| From: | Jan Borsodi | Date: | Thu, 04 Jan 2001 12:29:07 +0000 |
| Subject: | cvs: php4 /ext/qtdom qtdom_qt.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-3363@lists.php.net to get a copy of this message | ||
amos Thu Jan 4 04:29:07 2001 EDT
Modified files:
/php4/ext/qtdom qtdom_qt.h
Log:
Removed some stupid header text.
Added a new struct for handling error logs and Qt Message Handler handles.
Added functions for returning the error string and starting and stopping the message handler.
Index: php4/ext/qtdom/qtdom_qt.h
diff -u php4/ext/qtdom/qtdom_qt.h:1.1 php4/ext/qtdom/qtdom_qt.h:1.2
--- php4/ext/qtdom/qtdom_qt.h:1.1 Wed Nov 15 11:01:43 2000
+++ php4/ext/qtdom/qtdom_qt.h Thu Jan 4 04:29:07 2001
@@ -1,17 +1,9 @@
// -*- Mode: C++ -*-
//
-// $Id: qtdom_qt.h,v 1.1 2000/11/15 19:01:43 amos Exp $
+// $Id: qtdom_qt.h,v 1.2 2001/01/04 12:29:07 amos Exp $
//
-// Definition of ||| class
-//
-// <real-name> <<mail-name>>
// Created on: <09-Nov-2000 12:00:24 root>
//
-// Copyright (C) 1999-2000 eZ Systems. All rights reserved.
-//
-// IMPORTANT NOTE: You may NOT copy this file or any part of it into
-// your own programs or libraries.
-//
#ifndef QDOM_QT_H
#define QDOM_QT_H
@@ -37,6 +29,20 @@
struct qdom_node *Children;
};
+struct qdom_message
+{
+ char *Log;
+ void *OldHandler;
+};
+
+void qdom_init();
+void qdom_shutdown();
+
+void qdom_do_install_message_handler();
+void qdom_do_free_message_handler();
+
+char *qdom_error_log();
+
void qdom_do_version( char **ver );
struct qdom_node *qdom_do_next_node( struct qdom_node *node );
@@ -55,6 +61,7 @@
void qdom_do_doc_type( struct qdom_doc *doc, char **name );
struct qdom_doc *qdom_do_init( const char *arg );
void qdom_do_free( struct qdom_doc *doc );
+
+struct qdom_message *g_qdom_message_log;
-
#endif // QDOM_QT_H