This commit is contained in:
parent
976196326c
commit
2fb2da98a9
@ -51,8 +51,8 @@ namespace Novell.CASA.DataEngines
|
|||||||
|
|
||||||
public FFEngine()
|
public FFEngine()
|
||||||
{
|
{
|
||||||
//Get Profile Names
|
//Get Profile Names
|
||||||
//Console.WriteLine("FFEngine Constructor:Invoking GetDefaultProfileName:");
|
//Console.WriteLine("FFEngine Aggregate:Invoking GetDefaultProfileName:");
|
||||||
defaultProfileName=FireFox.GetDefaultProfileName();
|
defaultProfileName=FireFox.GetDefaultProfileName();
|
||||||
//This can be extended to get all profiles : Use FireFox.GetAllProfileNames()
|
//This can be extended to get all profiles : Use FireFox.GetAllProfileNames()
|
||||||
//Currently we support only the default profile.
|
//Currently we support only the default profile.
|
||||||
@ -63,28 +63,18 @@ namespace Novell.CASA.DataEngines
|
|||||||
initProfileStatus=FireFox.InitProfile(defaultProfileName);
|
initProfileStatus=FireFox.InitProfile(defaultProfileName);
|
||||||
//Console.WriteLine("FFEngine Constructor:InitProfile returned "+initProfileStatus);
|
//Console.WriteLine("FFEngine Constructor:InitProfile returned "+initProfileStatus);
|
||||||
}
|
}
|
||||||
else
|
}
|
||||||
Console.WriteLine("FFEngine Constructor:Could not get a Default Profile Name");
|
|
||||||
}
|
|
||||||
|
|
||||||
~FFEngine()
|
~FFEngine()
|
||||||
{
|
{
|
||||||
//Uninitialize the profile
|
//Uninitialize the profile if initialized earlier
|
||||||
//FIXME:- CURRENTLY NOT IVOKED SINCE THERES IS A BUG WHICH NEEDS TO BE FIXED IN FF NATIVE
|
//FIXME:- CURRENTLY NOT IVOKED SINCE THERES IS A BUG WHICH NEEDS TO BE FIXED IN FF NATIVE
|
||||||
//Console.WriteLine("FFEngine Destructor:UnInitializing the Profile "+profileName);
|
//Console.WriteLine("FFEngine Destructor:UnInitializing the Profile "+defaultProfileName);
|
||||||
//FireFox.UninitProfile(profileName);
|
FireFox.UninitProfile(defaultProfileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
public XmlNode Aggregate()
|
public XmlNode Aggregate()
|
||||||
{
|
{
|
||||||
//String defaultProfileName=null;
|
|
||||||
|
|
||||||
//Get Profile Names
|
|
||||||
//Console.WriteLine("FFEngine:Invoking GetDefaultProfileName:");
|
|
||||||
//defaultProfileName=FireFox.GetDefaultProfileName();
|
|
||||||
//This can be extended to get all profiles : Use FireFox.GetAllProfileNames()
|
|
||||||
//Currently we support only the default profile.
|
|
||||||
|
|
||||||
|
|
||||||
//Init XML Document
|
//Init XML Document
|
||||||
XmlDocument doc = new XmlDocument();
|
XmlDocument doc = new XmlDocument();
|
||||||
|
Loading…
Reference in New Issue
Block a user