summaryrefslogtreecommitdiff
path: root/sapi/activescript/php5as_classfactory.h
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2004-05-04 14:54:01 +0000
committerWez Furlong <wez@php.net>2004-05-04 14:54:01 +0000
commitc921ceb49c5df9b3ae71d9ef451093e1abbc1720 (patch)
treef0b6c8bae667fc39506b7c0fa867df06e549275a /sapi/activescript/php5as_classfactory.h
parentd6838a86f355f82dfde3c12253617924d7421896 (diff)
downloadphp-git-c921ceb49c5df9b3ae71d9ef451093e1abbc1720.tar.gz
Improve stability.
Give it a new CLSID and change the engine name to ActivePHP5. Globals registered by the scripting host are now auto-globals and don't need to be declared global when accessed from within functions.
Diffstat (limited to 'sapi/activescript/php5as_classfactory.h')
-rw-r--r--sapi/activescript/php5as_classfactory.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sapi/activescript/php5as_classfactory.h b/sapi/activescript/php5as_classfactory.h
index 2f1695fa0c..61823fb689 100644
--- a/sapi/activescript/php5as_classfactory.h
+++ b/sapi/activescript/php5as_classfactory.h
@@ -21,9 +21,16 @@
#include <unknwn.h>
+// {CF108A38-59A9-468a-AF45-1368D7855DAE}
+DEFINE_GUID(CLSID_PHPActiveScriptEngine,
+0xcf108a38, 0x59a9, 0x468a, 0xaf, 0x45, 0x13, 0x68, 0xd7, 0x85, 0x5d, 0xae);
+
+#if 0
+/* this was for PHP 4 */
// {A0AD8E7A-95EC-4819-986F-78D93895F2AE}
DEFINE_GUID(CLSID_PHPActiveScriptEngine,
0xa0ad8e7a, 0x95ec, 0x4819, 0x98, 0x6f, 0x78, 0xd9, 0x38, 0x95, 0xf2, 0xae);
+#endif
class TPHPClassFactory:
public IClassFactory