mirror of https://github.com/roytam1/kmeleon.git
41 changed files with 8055 additions and 5637 deletions
@ -1,188 +1,269 @@
|
||||
<?xml version="1.0" encoding="Windows-1252"?> |
||||
<VisualStudioProject |
||||
ProjectType="Visual C++" |
||||
Version="7.10" |
||||
Name="JSBridge" |
||||
ProjectGUID="{5F7A1684-E791-4F70-A24F-FC6726273512}" |
||||
RootNamespace="JSBridge" |
||||
Keyword="Win32Proj"> |
||||
<Platforms> |
||||
<Platform |
||||
Name="Win32"/> |
||||
</Platforms> |
||||
<Configurations> |
||||
<Configuration |
||||
Name="Debug|Win32" |
||||
OutputDirectory="Debug" |
||||
IntermediateDirectory="Debug" |
||||
ConfigurationType="2" |
||||
CharacterSet="2"> |
||||
<Tool |
||||
Name="VCCLCompilerTool" |
||||
Optimization="0" |
||||
AdditionalIncludeDirectories="..\..\mozilla\mozilla\dist\include\dom;..\..\mozilla\mozilla\dist\include\xpcom;..\..\mozilla\mozilla\dist\include\nspr;..\..\mozilla\mozilla\dist\include\windowwatcher;..\..\mozilla\mozilla\dist\include\webbrwsr" |
||||
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;JSBRIDGE_EXPORTS" |
||||
MinimalRebuild="TRUE" |
||||
BasicRuntimeChecks="3" |
||||
RuntimeLibrary="3" |
||||
UsePrecompiledHeader="0" |
||||
WarningLevel="3" |
||||
Detect64BitPortabilityProblems="TRUE" |
||||
DebugInformationFormat="4"/> |
||||
<Tool |
||||
Name="VCCustomBuildTool"/> |
||||
<Tool |
||||
Name="VCLinkerTool" |
||||
AdditionalDependencies="xpcom.lib xpcomglue_s.lib" |
||||
OutputFile="..\..\debug\kplugins\JSBridge.dll" |
||||
LinkIncremental="2" |
||||
AdditionalLibraryDirectories="..\..\mozilla\mozilla\dist\lib_debug" |
||||
GenerateDebugInformation="TRUE" |
||||
ProgramDatabaseFile="$(OutDir)/JSBridge.pdb" |
||||
SubSystem="2" |
||||
ImportLibrary="$(OutDir)/JSBridge.lib" |
||||
TargetMachine="1"/> |
||||
<Tool |
||||
Name="VCMIDLTool"/> |
||||
<Tool |
||||
Name="VCPostBuildEventTool" |
||||
CommandLine="copy js_bridge.xpt ..\..\debug\components\"/> |
||||
<Tool |
||||
Name="VCPreBuildEventTool" |
||||
CommandLine="$(ProjectDir)genidl.cmd"/> |
||||
<Tool |
||||
Name="VCPreLinkEventTool"/> |
||||
<Tool |
||||
Name="VCResourceCompilerTool"/> |
||||
<Tool |
||||
Name="VCWebServiceProxyGeneratorTool"/> |
||||
<Tool |
||||
Name="VCXMLDataGeneratorTool"/> |
||||
<Tool |
||||
Name="VCWebDeploymentTool"/> |
||||
<Tool |
||||
Name="VCManagedWrapperGeneratorTool"/> |
||||
<Tool |
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/> |
||||
</Configuration> |
||||
<Configuration |
||||
Name="Release|Win32" |
||||
OutputDirectory="Release" |
||||
IntermediateDirectory="Release" |
||||
ConfigurationType="2" |
||||
CharacterSet="2"> |
||||
<Tool |
||||
Name="VCCLCompilerTool" |
||||
AdditionalIncludeDirectories="..\..\mozilla\mozilla\dist\include\dom;..\..\mozilla\mozilla\dist\include\xpcom;..\..\mozilla\mozilla\dist\include\nspr;..\..\mozilla\mozilla\dist\include\windowwatcher;..\..\mozilla\mozilla\dist\include\webbrwsr" |
||||
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;JSBRIDGE_EXPORTS" |
||||
RuntimeLibrary="2" |
||||
UsePrecompiledHeader="0" |
||||
WarningLevel="3" |
||||
Detect64BitPortabilityProblems="TRUE" |
||||
DebugInformationFormat="3"/> |
||||
<Tool |
||||
Name="VCCustomBuildTool"/> |
||||
<Tool |
||||
Name="VCLinkerTool" |
||||
AdditionalDependencies="xpcom.lib xpcomglue_s.lib" |
||||
OutputFile="..\..\release\kplugins\JSBridge.dll" |
||||
LinkIncremental="1" |
||||
AdditionalLibraryDirectories="..\..\mozilla\mozilla\dist\lib" |
||||
GenerateDebugInformation="TRUE" |
||||
SubSystem="2" |
||||
OptimizeReferences="2" |
||||
EnableCOMDATFolding="2" |
||||
ImportLibrary="$(OutDir)/JSBridge.lib" |
||||
TargetMachine="1"/> |
||||
<Tool |
||||
Name="VCMIDLTool"/> |
||||
<Tool |
||||
Name="VCPostBuildEventTool" |
||||
CommandLine="copy js_bridge.xpt ..\..\release\components\"/> |
||||
<Tool |
||||
Name="VCPreBuildEventTool" |
||||
CommandLine="$(ProjectDir)genidl.cmd"/> |
||||
<Tool |
||||
Name="VCPreLinkEventTool"/> |
||||
<Tool |
||||
Name="VCResourceCompilerTool"/> |
||||
<Tool |
||||
Name="VCWebServiceProxyGeneratorTool"/> |
||||
<Tool |
||||
Name="VCXMLDataGeneratorTool"/> |
||||
<Tool |
||||
Name="VCWebDeploymentTool"/> |
||||
<Tool |
||||
Name="VCManagedWrapperGeneratorTool"/> |
||||
<Tool |
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/> |
||||
</Configuration> |
||||
</Configurations> |
||||
<References> |
||||
</References> |
||||
<Files> |
||||
<Filter |
||||
Name="Source Files" |
||||
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx" |
||||
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"> |
||||
<File |
||||
RelativePath=".\jscomp.cpp"> |
||||
</File> |
||||
<File |
||||
RelativePath=".\jsplugin.cpp"> |
||||
<FileConfiguration |
||||
Name="Debug|Win32"> |
||||
<Tool |
||||
Name="VCCLCompilerTool" |
||||
AdditionalIncludeDirectories=""../../mozilla/mozilla/dist/include/js";"../../mozilla/mozilla/dist/include/xpconnect";"../../mozilla/mozilla/dist/include/caps";"../../mozilla/mozilla/dist/include/mimetype";"../../mozilla/mozilla/dist/include/imglib2";"../../mozilla/mozilla/dist/include/content";"../../mozilla/mozilla/dist/include/locale";"../../mozilla/mozilla/dist/include/pippki";"../../mozilla/mozilla/dist/include/pipnss";"../../mozilla/mozilla/dist/include/cookie";"../../mozilla/mozilla/dist/include/xpcom_obsolete";"../../mozilla/mozilla/dist/include/typeaheadfind";"../../mozilla/mozilla/dist/include/appcomps";"../../mozilla/mozilla/dist/include/history";"../../mozilla/mozilla/dist/include/rdf";"../../mozilla/mozilla/dist/include/docshell";"../../mozilla/mozilla/dist/include/dom";"../../mozilla/mozilla/dist/include/embed_base";"../../mozilla/mozilla/dist/include/exthandler";"../../mozilla/mozilla/dist/include/find";"../../mozilla/mozilla/dist/include/gfx";"../../mozilla/mozilla/dist/include/helperAppDlg";"../../mozilla/mozilla/dist/include/intl";"../../mozilla/mozilla/dist/include/layout";"../../mozilla/mozilla/dist/include/necko";"../../mozilla/mozilla/dist/include/nkcache";"../../mozilla/mozilla/dist/include/pref";"../../mozilla/mozilla/dist/include/profile";"../../mozilla/mozilla/dist/include/shistory";"../../mozilla/mozilla/dist/include/string";"../../mozilla/mozilla/dist/include/uriloader";"../../mozilla/mozilla/dist/include/wallet";"../../mozilla/mozilla/dist/include/webBrowser_core";"../../mozilla/mozilla/dist/include/webbrowserpersist";"../../mozilla/mozilla/dist/include/webshell";"../../mozilla/mozilla/dist/include/widget";"../../mozilla/mozilla/dist/include/windowwatcher";"../../mozilla/mozilla/dist/include/xpcom";"../../mozilla/mozilla/dist/include/nspr";"../../mozilla/mozilla/dist/include/webbrwsr";"../../mozilla/mozilla/dist/include/commandhandler";"../../mozilla/mozilla/dist/include/plugin""/> |
||||
</FileConfiguration> |
||||
<FileConfiguration |
||||
Name="Release|Win32"> |
||||
<Tool |
||||
Name="VCCLCompilerTool" |
||||
AdditionalIncludeDirectories=""../../mozilla/mozilla/dist/include/js";"../../mozilla/mozilla/dist/include/xpconnect";"../../mozilla/mozilla/dist/include/caps";"../../mozilla/mozilla/dist/include/mimetype";"../../mozilla/mozilla/dist/include/imglib2";"../../mozilla/mozilla/dist/include/content";"../../mozilla/mozilla/dist/include/locale";"../../mozilla/mozilla/dist/include/pippki";"../../mozilla/mozilla/dist/include/pipnss";"../../mozilla/mozilla/dist/include/cookie";"../../mozilla/mozilla/dist/include/xpcom_obsolete";"../../mozilla/mozilla/dist/include/typeaheadfind";"../../mozilla/mozilla/dist/include/appcomps";"../../mozilla/mozilla/dist/include/history";"../../mozilla/mozilla/dist/include/rdf";"../../mozilla/mozilla/dist/include/docshell";"../../mozilla/mozilla/dist/include/dom";"../../mozilla/mozilla/dist/include/embed_base";"../../mozilla/mozilla/dist/include/exthandler";"../../mozilla/mozilla/dist/include/find";"../../mozilla/mozilla/dist/include/gfx";"../../mozilla/mozilla/dist/include/helperAppDlg";"../../mozilla/mozilla/dist/include/intl";"../../mozilla/mozilla/dist/include/layout";"../../mozilla/mozilla/dist/include/necko";"../../mozilla/mozilla/dist/include/nkcache";"../../mozilla/mozilla/dist/include/pref";"../../mozilla/mozilla/dist/include/profile";"../../mozilla/mozilla/dist/include/shistory";"../../mozilla/mozilla/dist/include/string";"../../mozilla/mozilla/dist/include/uriloader";"../../mozilla/mozilla/dist/include/wallet";"../../mozilla/mozilla/dist/include/webBrowser_core";"../../mozilla/mozilla/dist/include/webbrowserpersist";"../../mozilla/mozilla/dist/include/webshell";"../../mozilla/mozilla/dist/include/widget";"../../mozilla/mozilla/dist/include/windowwatcher";"../../mozilla/mozilla/dist/include/xpcom";"../../mozilla/mozilla/dist/include/nspr";"../../mozilla/mozilla/dist/include/webbrwsr";"../../mozilla/mozilla/dist/include/commandhandler";"../../mozilla/mozilla/dist/include/plugin""/> |
||||
</FileConfiguration> |
||||
</File> |
||||
<File |
||||
RelativePath=".\nsGenericFactory.cpp"> |
||||
</File> |
||||
<File |
||||
RelativePath=".\nsIJSBridge.idl"> |
||||
<FileConfiguration |
||||
Name="Debug|Win32" |
||||
ExcludedFromBuild="TRUE"> |
||||
<Tool |
||||
Name="VCCustomBuildTool" |
||||
CommandLine="..\..\mozilla\mozilla\dist\bin\xpidl.exe -m header |
||||
" |
||||
AdditionalDependencies="..\..\mozilla\mozilla\dist\idl\" |
||||
Outputs="-e nsIJSBridge.h $(InputFileName)"/> |
||||
</FileConfiguration> |
||||
<FileConfiguration |
||||
Name="Release|Win32" |
||||
ExcludedFromBuild="TRUE"> |
||||
<Tool |
||||
Name="VCMIDLTool"/> |
||||
</FileConfiguration> |
||||
</File> |
||||
</Filter> |
||||
<Filter |
||||
Name="Header Files" |
||||
Filter="h;hpp;hxx;hm;inl;inc;xsd" |
||||
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"> |
||||
<File |
||||
RelativePath=".\jscomp.h"> |
||||
</File> |
||||
<File |
||||
RelativePath=".\nsIJSBridge.h"> |
||||
</File> |
||||
</Filter> |
||||
<Filter |
||||
Name="Resource Files" |
||||
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx" |
||||
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"> |
||||
</Filter> |
||||
</Files> |
||||
<Globals> |
||||
</Globals> |
||||
</VisualStudioProject> |
||||
<?xml version="1.0" encoding="Windows-1252"?> |
||||
<VisualStudioProject |
||||
ProjectType="Visual C++" |
||||
Version="8.00" |
||||
Name="JSBridge" |
||||
ProjectGUID="{5F7A1684-E791-4F70-A24F-FC6726273512}" |
||||
RootNamespace="JSBridge" |
||||
Keyword="Win32Proj" |
||||
> |
||||
<Platforms> |
||||
<Platform |
||||
Name="Win32" |
||||
/> |
||||
</Platforms> |
||||
<ToolFiles> |
||||
</ToolFiles> |
||||
<Configurations> |
||||
<Configuration |
||||
Name="Debug|Win32" |
||||
OutputDirectory="Debug" |
||||
IntermediateDirectory="Debug" |
||||
ConfigurationType="2" |
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" |
||||
CharacterSet="2" |
||||
> |
||||
<Tool |
||||
Name="VCPreBuildEventTool" |
||||
CommandLine="$(ProjectDir)genidl.cmd" |
||||
/> |
||||
<Tool |
||||
Name="VCCustomBuildTool" |
||||
/> |
||||
<Tool |
||||
Name="VCXMLDataGeneratorTool" |
||||
/> |
||||
<Tool |
||||
Name="VCWebServiceProxyGeneratorTool" |
||||
/> |
||||
<Tool |
||||
Name="VCMIDLTool" |
||||
/> |
||||
<Tool |
||||
Name="VCCLCompilerTool" |
||||
Optimization="0" |
||||
AdditionalIncludeDirectories="..\..\mozilla\mozilla\dist\include\dom;..\..\mozilla\mozilla\dist\include\xpcom;..\..\mozilla\mozilla\dist\include\nspr;..\..\mozilla\mozilla\dist\include\windowwatcher;..\..\mozilla\mozilla\dist\include\webbrwsr" |
||||
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;JSBRIDGE_EXPORTS" |
||||
MinimalRebuild="true" |
||||
BasicRuntimeChecks="3" |
||||
RuntimeLibrary="3" |
||||
UsePrecompiledHeader="0" |
||||
WarningLevel="3" |
||||
Detect64BitPortabilityProblems="true" |
||||
DebugInformationFormat="4" |
||||
/> |
||||
<Tool |
||||
Name="VCManagedResourceCompilerTool" |
||||
/> |
||||
<Tool |
||||
Name="VCResourceCompilerTool" |
||||
/> |
||||
<Tool |
||||
Name="VCPreLinkEventTool" |
||||
/> |
||||
<Tool |
||||
Name="VCLinkerTool" |
||||
AdditionalDependencies="xpcom.lib xpcomglue_s.lib" |
||||
OutputFile="..\..\debug\kplugins\JSBridge.dll" |
||||
LinkIncremental="2" |
||||
AdditionalLibraryDirectories="..\..\mozilla\mozilla\dist\lib_debug" |
||||
GenerateDebugInformation="true" |
||||
ProgramDatabaseFile="$(OutDir)/JSBridge.pdb" |
||||
SubSystem="2" |
||||
ImportLibrary="$(OutDir)/JSBridge.lib" |
||||
TargetMachine="1" |
||||
/> |
||||
<Tool |
||||
Name="VCALinkTool" |
||||
/> |
||||
<Tool |
||||
Name="VCManifestTool" |
||||
/> |
||||
<Tool |
||||
Name="VCXDCMakeTool" |
||||
/> |
||||
<Tool |
||||
Name="VCBscMakeTool" |
||||
/> |
||||
<Tool |
||||
Name="VCFxCopTool" |
||||
/> |
||||
<Tool |
||||
Name="VCAppVerifierTool" |
||||
/> |
||||
<Tool |
||||
Name="VCWebDeploymentTool" |
||||
/> |
||||
<Tool |
||||
Name="VCPostBuildEventTool" |
||||
CommandLine="copy js_bridge.xpt ..\..\debug\components\" |
||||
/> |
||||
</Configuration> |
||||
<Configuration |
||||
Name="Release|Win32" |
||||
OutputDirectory="Release" |
||||
IntermediateDirectory="Release" |
||||
ConfigurationType="2" |
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" |
||||
CharacterSet="2" |
||||
> |
||||
<Tool |
||||
Name="VCPreBuildEventTool" |
||||
CommandLine="$(ProjectDir)genidl.cmd" |
||||
/> |
||||
<Tool |
||||
Name="VCCustomBuildTool" |
||||
/> |
||||
<Tool |
||||
Name="VCXMLDataGeneratorTool" |
||||
/> |
||||
<Tool |
||||
Name="VCWebServiceProxyGeneratorTool" |
||||
/> |
||||
<Tool |
||||
Name="VCMIDLTool" |
||||
/> |
||||
<Tool |
||||
Name="VCCLCompilerTool" |
||||
AdditionalOptions="/wd4996" |
||||
AdditionalIncludeDirectories="..\..\mozilla\mozilla\dist\include;..\..\mozilla\mozilla\dist\include\dom;..\..\mozilla\mozilla\dist\include\xpcom;..\..\mozilla\mozilla\dist\include\nspr;..\..\mozilla\mozilla\dist\include\windowwatcher;..\..\mozilla\mozilla\dist\include\webbrwsr" |
||||
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;JSBRIDGE_EXPORTS;XP_WIN" |
||||
RuntimeLibrary="2" |
||||
UsePrecompiledHeader="0" |
||||
WarningLevel="3" |
||||
Detect64BitPortabilityProblems="true" |
||||
DebugInformationFormat="3" |
||||
/> |
||||
<Tool |
||||
Name="VCManagedResourceCompilerTool" |
||||
/> |
||||
<Tool |
||||
Name="VCResourceCompilerTool" |
||||
/> |
||||
<Tool |
||||
Name="VCPreLinkEventTool" |
||||
/> |
||||
<Tool |
||||
Name="VCLinkerTool" |
||||
AdditionalDependencies="nss3.lib xul.lib mozalloc.lib mozjs.lib xpcomglue_s.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib" |
||||
OutputFile="..\..\release\kplugins\JSBridge.dll" |
||||
LinkIncremental="1" |
||||
AdditionalLibraryDirectories="..\..\mozilla\mozilla\dist\lib" |
||||
GenerateDebugInformation="true" |
||||
SubSystem="2" |
||||
OptimizeReferences="2" |
||||
EnableCOMDATFolding="2" |
||||
ImportLibrary="$(OutDir)/JSBridge.lib" |
||||
TargetMachine="1" |
||||
/> |
||||
<Tool |
||||
Name="VCALinkTool" |
||||
/> |
||||
<Tool |
||||
Name="VCManifestTool" |
||||
/> |
||||
<Tool |
||||
Name="VCXDCMakeTool" |
||||
/> |
||||
<Tool |
||||
Name="VCBscMakeTool" |
||||
/> |
||||
<Tool |
||||
Name="VCFxCopTool" |
||||
/> |
||||
<Tool |
||||
Name="VCAppVerifierTool" |
||||
/> |
||||
<Tool |
||||
Name="VCWebDeploymentTool" |
||||
/> |
||||
<Tool |
||||
Name="VCPostBuildEventTool" |
||||
CommandLine="copy jsbridge.xpt ..\..\release\components\" |
||||
/> |
||||
</Configuration> |
||||
</Configurations> |
||||
<References> |
||||
</References> |
||||
<Files> |
||||
<Filter |
||||
Name="Source Files" |
||||
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx" |
||||
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}" |
||||
> |
||||
<File |
||||
RelativePath=".\jscomp.cpp" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath=".\jsplugin.cpp" |
||||
> |
||||
<FileConfiguration |
||||
Name="Debug|Win32" |
||||
> |
||||
<Tool |
||||
Name="VCCLCompilerTool" |
||||
AdditionalIncludeDirectories=""../../mozilla/mozilla/dist/include/js";"../../mozilla/mozilla/dist/include/xpconnect";"../../mozilla/mozilla/dist/include/caps";"../../mozilla/mozilla/dist/include/mimetype";"../../mozilla/mozilla/dist/include/imglib2";"../../mozilla/mozilla/dist/include/content";"../../mozilla/mozilla/dist/include/locale";"../../mozilla/mozilla/dist/include/pippki";"../../mozilla/mozilla/dist/include/pipnss";"../../mozilla/mozilla/dist/include/cookie";"../../mozilla/mozilla/dist/include/xpcom_obsolete";"../../mozilla/mozilla/dist/include/typeaheadfind";"../../mozilla/mozilla/dist/include/appcomps";"../../mozilla/mozilla/dist/include/history";"../../mozilla/mozilla/dist/include/rdf";"../../mozilla/mozilla/dist/include/docshell";"../../mozilla/mozilla/dist/include/dom";"../../mozilla/mozilla/dist/include/embed_base";"../../mozilla/mozilla/dist/include/exthandler";"../../mozilla/mozilla/dist/include/find";"../../mozilla/mozilla/dist/include/gfx";"../../mozilla/mozilla/dist/include/helperAppDlg";"../../mozilla/mozilla/dist/include/intl";"../../mozilla/mozilla/dist/include/layout";"../../mozilla/mozilla/dist/include/necko";"../../mozilla/mozilla/dist/include/nkcache";"../../mozilla/mozilla/dist/include/pref";"../../mozilla/mozilla/dist/include/profile";"../../mozilla/mozilla/dist/include/shistory";"../../mozilla/mozilla/dist/include/string";"../../mozilla/mozilla/dist/include/uriloader";"../../mozilla/mozilla/dist/include/wallet";"../../mozilla/mozilla/dist/include/webBrowser_core";"../../mozilla/mozilla/dist/include/webbrowserpersist";"../../mozilla/mozilla/dist/include/webshell";"../../mozilla/mozilla/dist/include/widget";"../../mozilla/mozilla/dist/include/windowwatcher";"../../mozilla/mozilla/dist/include/xpcom";"../../mozilla/mozilla/dist/include/nspr";"../../mozilla/mozilla/dist/include/webbrwsr";"../../mozilla/mozilla/dist/include/commandhandler";"../../mozilla/mozilla/dist/include/plugin"" |
||||
/> |
||||
</FileConfiguration> |
||||
<FileConfiguration |
||||
Name="Release|Win32" |
||||
> |
||||
<Tool |
||||
Name="VCCLCompilerTool" |
||||
AdditionalIncludeDirectories=""../../mozilla/mozilla/dist/include/js";"../../mozilla/mozilla/dist/include/xpconnect";"../../mozilla/mozilla/dist/include/caps";"../../mozilla/mozilla/dist/include/mimetype";"../../mozilla/mozilla/dist/include/imglib2";"../../mozilla/mozilla/dist/include/content";"../../mozilla/mozilla/dist/include/locale";"../../mozilla/mozilla/dist/include/pippki";"../../mozilla/mozilla/dist/include/pipnss";"../../mozilla/mozilla/dist/include/cookie";"../../mozilla/mozilla/dist/include/xpcom_obsolete";"../../mozilla/mozilla/dist/include/typeaheadfind";"../../mozilla/mozilla/dist/include/appcomps";"../../mozilla/mozilla/dist/include/history";"../../mozilla/mozilla/dist/include/rdf";"../../mozilla/mozilla/dist/include/docshell";"../../mozilla/mozilla/dist/include/dom";"../../mozilla/mozilla/dist/include/embed_base";"../../mozilla/mozilla/dist/include/exthandler";"../../mozilla/mozilla/dist/include/find";"../../mozilla/mozilla/dist/include/gfx";"../../mozilla/mozilla/dist/include/helperAppDlg";"../../mozilla/mozilla/dist/include/intl";"../../mozilla/mozilla/dist/include/layout";"../../mozilla/mozilla/dist/include/necko";"../../mozilla/mozilla/dist/include/nkcache";"../../mozilla/mozilla/dist/include/pref";"../../mozilla/mozilla/dist/include/profile";"../../mozilla/mozilla/dist/include/shistory";"../../mozilla/mozilla/dist/include/string";"../../mozilla/mozilla/dist/include/uriloader";"../../mozilla/mozilla/dist/include/wallet";"../../mozilla/mozilla/dist/include/webBrowser_core";"../../mozilla/mozilla/dist/include/webbrowserpersist";"../../mozilla/mozilla/dist/include/webshell";"../../mozilla/mozilla/dist/include/widget";"../../mozilla/mozilla/dist/include/windowwatcher";"../../mozilla/mozilla/dist/include/xpcom";"../../mozilla/mozilla/dist/include/nspr";"../../mozilla/mozilla/dist/include/webbrwsr";"../../mozilla/mozilla/dist/include/commandhandler";"../../mozilla/mozilla/dist/include/plugin"" |
||||
/> |
||||
</FileConfiguration> |
||||
</File> |
||||
<File |
||||
RelativePath=".\nsGenericFactory.cpp" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath=".\nsIJSBridge.idl" |
||||
> |
||||
<FileConfiguration |
||||
Name="Debug|Win32" |
||||
ExcludedFromBuild="true" |
||||
> |
||||
<Tool |
||||
Name="VCCustomBuildTool" |
||||
CommandLine="..\..\mozilla\mozilla\dist\bin\xpidl.exe -m header
" |
||||
AdditionalDependencies="..\..\mozilla\mozilla\dist\idl\" |
||||
Outputs="-e nsIJSBridge.h $(InputFileName)" |
||||
/> |
||||
</FileConfiguration> |
||||
<FileConfiguration |
||||
Name="Release|Win32" |
||||
ExcludedFromBuild="true" |
||||
> |
||||
<Tool |
||||
Name="VCMIDLTool" |
||||
/> |
||||
</FileConfiguration> |
||||
</File> |
||||
</Filter> |
||||
<Filter |
||||
Name="Header Files" |
||||
Filter="h;hpp;hxx;hm;inl;inc;xsd" |
||||
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" |
||||
> |
||||
<File |
||||
RelativePath=".\jscomp.h" |
||||
> |
||||
</File> |
||||
<File |
||||
RelativePath=".\nsIJSBridge.h" |
||||
> |
||||
</File> |
||||
</Filter> |
||||
<Filter |
||||
Name="Resource Files" |
||||
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx" |
||||
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}" |
||||
> |
||||
</Filter> |
||||
</Files> |
||||
<Globals> |
||||
</Globals> |
||||
</VisualStudioProject> |
||||
|
@ -1,2 +1,2 @@
|
||||
@..\..\xulrunner-sdk-dbg\bin\header.py -I ../../xulrunner-sdk-dbg/idl -o nsIJSBridge.h nsIJSBridge.idl |
||||
@..\..\xulrunner-sdk-dbg\bin\typelib.py -I ../../xulrunner-sdk-dbg/idl -o jsbridge.xpt nsIJSBridge.idl |
||||
c:\python27\python ..\..\xulrunner-sdk-dbg\bin\header.py -I ../../xulrunner-sdk-dbg/idl -o nsIJSBridge.h nsIJSBridge.idl |
||||
c:\python27\python ..\..\xulrunner-sdk-dbg\bin\typelib.py -I ../../xulrunner-sdk-dbg/idl -o jsbridge.xpt nsIJSBridge.idl |
||||
|
@ -0,0 +1,150 @@
|
||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ |
||||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
||||
* |
||||
* The contents of this file are subject to the Mozilla Public License Version |
||||
* 1.1 (the "License"); you may not use this file except in compliance with |
||||
* the License. You may obtain a copy of the License at |
||||
* http://www.mozilla.org/MPL/
|
||||
* |
||||
* Software distributed under the License is distributed on an "AS IS" basis, |
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |
||||
* for the specific language governing rights and limitations under the |
||||
* License. |
||||
* |
||||
* The Original Code is mozilla.org code. |
||||
* |
||||
* The Initial Developer of the Original Code is |
||||
* Netscape Communications Corporation. |
||||
* Portions created by the Initial Developer are Copyright (C) 1998 |
||||
* the Initial Developer. All Rights Reserved. |
||||
* |
||||
* Contributor(s): |
||||
* |
||||
* Alternatively, the contents of this file may be used under the terms of |
||||
* either of the GNU General Public License Version 2 or later (the "GPL"), |
||||
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
||||
* in which case the provisions of the GPL or the LGPL are applicable instead |
||||
* of those above. If you wish to allow use of your version of this file only |
||||
* under the terms of either the GPL or the LGPL, and not to allow others to |
||||
* use your version of this file under the terms of the MPL, indicate your |
||||
* decision by deleting the provisions above and replace them with the notice |
||||
* and other provisions required by the GPL or the LGPL. If you do not delete |
||||
* the provisions above, a recipient may use your version of this file under |
||||
* the terms of any one of the MPL, the GPL or the LGPL. |
||||
* |
||||
* ***** END LICENSE BLOCK ***** */ |
||||
|
||||
|
||||
|
||||
#include "nsCOMPtr.h" |
||||
#include "nsIFactory.h" |
||||
#include "nsIClassInfo.h" |
||||
#include "mozilla/ModuleUtils.h" |
||||
|
||||
struct nsModuleComponentInfo { |
||||
const char* mDescription; |
||||
nsCID mCID; |
||||
const char* mContractID; |
||||
mozilla::Module::ConstructorProcPtr mConstructor;
|
||||
}; |
||||
|
||||
// {3bc97f01-ccdf-11d2-bab8-b548654461fc}
|
||||
#define NS_GENERICFACTORY_CID \ |
||||
{ 0x3bc97f01, 0xccdf, 0x11d2, \
|
||||
{ 0xba, 0xb8, 0xb5, 0x48, 0x65, 0x44, 0x61, 0xfc } } |
||||
|
||||
// {3bc97f00-ccdf-11d2-bab8-b548654461fc}
|
||||
#define NS_IGENERICFACTORY_IID \ |
||||
{ 0x3bc97f00, 0xccdf, 0x11d2, \
|
||||
{ 0xba, 0xb8, 0xb5, 0x48, 0x65, 0x44, 0x61, 0xfc } } |
||||
|
||||
class nsIGenericFactory : public nsIFactory { |
||||
public: |
||||
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IGENERICFACTORY_IID) |
||||
|
||||
NS_IMETHOD SetComponentInfo(const nsModuleComponentInfo *info) = 0; |
||||
NS_IMETHOD GetComponentInfo(const nsModuleComponentInfo **infop) = 0; |
||||
}; |
||||
|
||||
NS_DEFINE_STATIC_IID_ACCESSOR(nsIGenericFactory, NS_IGENERICFACTORY_IID); |
||||
|
||||
/**
|
||||
* Most factories follow this simple pattern, so why not just use a function |
||||
* pointer for most creation operations? |
||||
*/ |
||||
class nsGenericFactory : public nsIGenericFactory, public nsIClassInfo { |
||||
public: |
||||
NS_DEFINE_STATIC_CID_ACCESSOR(NS_GENERICFACTORY_CID) |
||||
|
||||
nsGenericFactory(const nsModuleComponentInfo *info = NULL); |
||||
|
||||
NS_DECL_ISUPPORTS |
||||
NS_DECL_NSICLASSINFO |
||||
|
||||
/* nsIGenericFactory methods */ |
||||
NS_IMETHOD SetComponentInfo(const nsModuleComponentInfo *info); |
||||
NS_IMETHOD GetComponentInfo(const nsModuleComponentInfo **infop); |
||||
|
||||
NS_IMETHOD CreateInstance(nsISupports *aOuter, REFNSIID aIID, void **aResult); |
||||
|
||||
NS_IMETHOD LockFactory(bool aLock); |
||||
|
||||
static NS_METHOD Create(nsISupports* outer, const nsIID& aIID, void* *aInstancePtr); |
||||
private: |
||||
~nsGenericFactory(); |
||||
|
||||
const nsModuleComponentInfo *mInfo; |
||||
}; |
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "nsIModule.h" |
||||
#include "plhash.h" |
||||
|
||||
class nsGenericModule : public nsIModule |
||||
{ |
||||
public: |
||||
nsGenericModule(const char* moduleName,
|
||||
PRUint32 componentCount, |
||||
const nsModuleComponentInfo* components, |
||||
mozilla::Module::ConstructorProcPtr ctor); |
||||
|
||||
private: |
||||
~nsGenericModule(); |
||||
|
||||
public: |
||||
NS_DECL_ISUPPORTS |
||||
|
||||
NS_DECL_NSIMODULE |
||||
|
||||
struct FactoryNode |
||||
{ |
||||
FactoryNode(nsIFactory* fact, FactoryNode* next)
|
||||
{
|
||||
mFactory = fact;
|
||||
mNext = next; |
||||
} |
||||
~FactoryNode(){} |
||||
|
||||
nsCOMPtr<nsIFactory> mFactory; |
||||
FactoryNode* mNext; |
||||
}; |
||||
|
||||
|
||||
|
||||
|
||||
protected: |
||||
nsresult Initialize(nsIComponentManager* compMgr); |
||||
|
||||
void Shutdown(); |
||||
nsresult AddFactoryNode(nsIFactory* fact); |
||||
|
||||
PRBool mInitialized; |
||||
const char* mModuleName; |
||||
PRUint32 mComponentCount; |
||||
const nsModuleComponentInfo* mComponents; |
||||
FactoryNode* mFactoriesNotToBeRegistered; |
||||
mozilla::Module::ConstructorProcPtr mCtor; |
||||
//nsModuleDestructorProc mDtor;
|
||||
}; |
@ -1,293 +1,251 @@
|
||||
Microsoft Visual Studio Solution File, Format Version 8.00 |
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "k-meleon", "KMeleon.vcproj", "{A1E2BBD2-452C-41F6-A64A-9476398A17DA}" |
||||
ProjectSection(ProjectDependencies) = postProject |
||||
EndProjectSection |
||||
EndProject |
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Layers", "layers\Layers.vcproj", "{A893706A-93AF-4905-B9B9-125F9F961CF2}" |
||||
ProjectSection(ProjectDependencies) = postProject |
||||
EndProjectSection |
||||
EndProject |
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "bmpmenu", "bmp_menu\bmp_menu.vcproj", "{F2E464B0-F87F-4482-B32D-031B63E681E2}" |
||||
ProjectSection(ProjectDependencies) = postProject |
||||
EndProjectSection |
||||
EndProject |
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "external", "External\external.vcproj", "{802755E1-6059-4C25-BB24-48CC17D12254}" |
||||
ProjectSection(ProjectDependencies) = postProject |
||||
EndProjectSection |
||||
EndProject |
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "fullscreen", "fullscreen\fullscreen.vcproj", "{014A6ED5-5295-44BF-97B1-5569A8C2A7F3}" |
||||
ProjectSection(ProjectDependencies) = postProject |
||||
EndProjectSection |
||||
EndProject |
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "history", "history\history.vcproj", "{9C40A520-37BA-4997-BC72-4EE98E32513A}" |
||||
ProjectSection(ProjectDependencies) = postProject |
||||
EndProjectSection |
||||
EndProject |
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "loader", "loader\loader.vcproj", "{DF7D017C-AE43-428E-A575-A329D951529F}" |
||||
ProjectSection(ProjectDependencies) = postProject |
||||
EndProjectSection |
||||
EndProject |
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "macros", "macros\macros.vcproj", "{8E2AA109-176D-4DCC-81B3-078AFD3A5138}" |
||||
ProjectSection(ProjectDependencies) = postProject |
||||
EndProjectSection |
||||
EndProject |
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "bookmarks", "ns_bookmarks\ns_bookmarks.vcproj", "{E32EA49A-59D4-4898-805F-1732B2F4D302}" |
||||
ProjectSection(ProjectDependencies) = postProject |
||||
EndProjectSection |
||||
EndProject |
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "hotlist", "op_hotlist\op_hotlist.vcproj", "{553F5B8A-CB70-4766-9EFC-222748AAA006}" |
||||
ProjectSection(ProjectDependencies) = postProject |
||||
EndProjectSection |
||||
EndProject |
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "rebarmenu", "rebar_menu\rebar_menu.vcproj", "{839F0F46-8C0A-425D-B70A-40A1D8ACBE90}" |
||||
ProjectSection(ProjectDependencies) = postProject |
||||
EndProjectSection |
||||
EndProject |
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "toolbars", "toolbars\toolbars.vcproj", "{97C153A5-A4F6-4AD7-971B-F6C747558AC4}" |
||||
ProjectSection(ProjectDependencies) = postProject |
||||
EndProjectSection |
||||
EndProject |
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "privacy", "privacy\privacy.vcproj", "{F80DCDF9-D001-47F7-97D5-26EF62BF91AF}" |
||||
ProjectSection(ProjectDependencies) = postProject |
||||
EndProjectSection |
||||
EndProject |
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gestures", "gestures\gestures.vcproj", "{2E6C70BF-E9CA-416A-B341-2B8550919D9E}" |
||||
ProjectSection(ProjectDependencies) = postProject |
||||
EndProjectSection |
||||
EndProject |
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "favorites", "ie_favorites\favorites2.vcproj", "{3632B1A3-8D3C-468B-8AA7-1BAC8A367ED5}" |
||||
ProjectSection(ProjectDependencies) = postProject |
||||
EndProjectSection |
||||
EndProject |
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sessions", "sessions\sessions.vcproj", "{43FF5741-2BA4-4191-A0E3-DB8BC27685CB}" |
||||
ProjectSection(ProjectDependencies) = postProject |
||||
EndProjectSection |
||||
EndProject |
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "macros2", "macros2\macros2.vcproj", "{CE210F14-2644-487C-86CA-1E2CB2E04490}" |
||||
ProjectSection(ProjectDependencies) = postProject |
||||
EndProjectSection |
||||
EndProject |
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "JSBridge", "JSBridge\JSBridge.vcproj", "{5F7A1684-E791-4F70-A24F-FC6726273512}" |
||||
ProjectSection(ProjectDependencies) = postProject |
||||
EndProjectSection |
||||
EndProject |
||||
Global |
||||