mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-25 22:29:07 +00:00
addToClassPath(const FSSpec& fileSpec)
This commit is contained in:
parent
81416f4034
commit
35a6a46def
@ -184,6 +184,11 @@ inline StringPtr c2p(const char* cstr, StringPtr pstr)
|
||||
return pstr;
|
||||
}
|
||||
|
||||
Boolean MRJSession::addToClassPath(const FSSpec& fileSpec)
|
||||
{
|
||||
return (::JMAddToClassPath(mSession, &fileSpec) == noErr);
|
||||
}
|
||||
|
||||
Boolean MRJSession::addToClassPath(const char* dirPath)
|
||||
{
|
||||
// Need to convert the path into an FSSpec, and add it MRJ's class path.
|
||||
|
@ -59,6 +59,7 @@ public:
|
||||
|
||||
Boolean onMainThread();
|
||||
|
||||
Boolean addToClassPath(const FSSpec& fileSpec);
|
||||
Boolean addToClassPath(const char* dirPath);
|
||||
Boolean addURLToClassPath(const char* fileURL);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user