addToClassPath(const FSSpec& fileSpec)

This commit is contained in:
beard%netscape.com 1999-03-20 04:12:59 +00:00
parent 81416f4034
commit 35a6a46def
2 changed files with 6 additions and 0 deletions

View File

@ -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.

View File

@ -59,6 +59,7 @@ public:
Boolean onMainThread();
Boolean addToClassPath(const FSSpec& fileSpec);
Boolean addToClassPath(const char* dirPath);
Boolean addURLToClassPath(const char* fileURL);