ifdef includes and inline function that requires MOZILLA_INTERNAL_API, so that this header can be pulled in from a standalone extension (bug 334870). r+b181=darin.

This commit is contained in:
bryner%brianryner.com 2006-04-20 22:58:23 +00:00
parent 6701ce3665
commit 98ca2e8272

View File

@ -43,8 +43,10 @@
%{C++
#include "nsplugindefs.h"
#ifdef MOZILLA_INTERNAL_API
#include "nsString.h"
#include "nsNetUtil.h"
#endif
#include "prlink.h" // for PRLibrary
%}
@ -94,6 +96,7 @@ interface nsIPluginHost : nsIFactory
};
%{C++
#ifdef MOZILLA_INTERNAL_API
/**
* Used for creating the correct input stream for plugins
* We can either have raw data (with or without \r\n\r\n) or a path to a file (but it must be native!)
@ -151,4 +154,5 @@ NS_NewPluginPostDataStream(nsIInputStream **result,
}
return rv;
}
#endif
%}