[xiph-commits] r3058 - liboggplay/trunk/plugin
tahn at svn.annodex.net
tahn at svn.annodex.net
Tue Jun 26 02:02:29 PDT 2007
Author: tahn
Date: 2007-06-26 02:02:29 -0700 (Tue, 26 Jun 2007)
New Revision: 3058
Modified:
liboggplay/trunk/plugin/plugin.cpp
Log:
Disabled the proxy handling stuff for the Mac until we figure out how to make strings work (sigh).
Modified: liboggplay/trunk/plugin/plugin.cpp
===================================================================
--- liboggplay/trunk/plugin/plugin.cpp 2007-06-26 08:22:02 UTC (rev 3057)
+++ liboggplay/trunk/plugin/plugin.cpp 2007-06-26 09:02:29 UTC (rev 3058)
@@ -59,10 +59,12 @@
#include "nsIServiceManager.h"
#include "nsIMemory.h"
#include "nsISupportsUtils.h" // this is where some useful macros defined
+#if !defined(XP_MACOSX) //temporarily disabled (hopefully)
#include "necko/nsIProtocolProxyService.h"
#include "necko/nsIProxyInfo.h"
#include "nsIProtocolHandler.h"
#include "nsEmbedString.h"
+#endif
#include <npruntime.h>
@@ -244,16 +246,19 @@
mPollingPeriod(POLLING_PERIOD)
#endif
{
+#if !defined(XP_MACOSX) //temporarily disabled (hopefully)
nsISupports * sm = NULL;
nsIProtocolProxyService * pps = NULL;
nsIProxyInfo * pi = NULL;
nsIProtocolHandler * ph = NULL;
+#endif
mString[0] = '\0';
setSource(source);
SEM_CREATE(mCmmlSem, 1);
SEM_CREATE(mEndPlaySem, 1);
+#if !defined(XP_MACOSX) //temporarily disabled (hopefully)
NPN_GetValue(NULL, NPNVserviceManager, &sm);
if (sm) {
@@ -291,6 +296,7 @@
printf("proxy host is %s\n", host.get());
printf("proxy port is %d\n", port);
}
+#endif
}
More information about the commits
mailing list