//
// A4Stuff.h contains the definition of EnterCodeResource and
-// EnterCodeResource, used for setting up the code resourceÕs
+// EnterCodeResource, used for setting up the code resource’s
// globals for 68K (analagous to the function SetCurrentA5
// defined by the toolbox).
//
//::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
#if !TARGET_API_MAC_CARBON
-QDGlobals* gQDPtr; // Pointer to NetscapeÕs QuickDraw globals
+QDGlobals* gQDPtr; // Pointer to Netscape’s QuickDraw globals
#endif
-short gResFile; // Refnum of the pluginÕs resource file
+short gResFile; // Refnum of the plugin’s resource file
NPNetscapeFuncs gNetscapeFuncs; // Function table for procs in Netscape called by plugin
//::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
#endif
//
- // Memorize the pluginÕs resource file
+ // Memorize the plugin’s resource file
// refnum for later use.
//
gResFile = CurResFile();
//
// Now that we know the app name and FSSpec, we can call GetDiskFragment
// to get a connID to use in a subsequent call to FindSymbol (it will also
- // return the address of ÒmainÓ in app, which we ignore). If GetDiskFragment
+ // return the address of “main” in app, which we ignore). If GetDiskFragment
// returns an error, we assume the app must be 68K.
//
Ptr mainAddr;
{
//
// The app is a PPC code fragment, so call FindSymbol
- // to get the exported ÒqdÓ symbol so we can access its
+ // to get the exported “qd” symbol so we can access its
// QuickDraw globals.
//
CFragSymbolClass symClass;
err = NPERR_INVALID_FUNCTABLE_ERROR;
//
- // Check the ÒmajorÓ version passed in NetscapeÕs function table.
- // We wonÕt load if the major version is newer than what we expect.
+ // Check the “major” version passed in Netscape’s function table.
+ // We won’t load if the major version is newer than what we expect.
// Also check that the function tables passed in are big enough for
// all the functions we need (they could be bigger, if Netscape added
- // new APIs, but thatÕs OK with us -- weÕll just ignore them).
+ // new APIs, but that’s OK with us -- we’ll just ignore them).
//
if (err == NPERR_NO_ERROR)
{
if (err == NPERR_NO_ERROR)
{
//
- // Copy all the fields of NetscapeÕs function table into our
+ // Copy all the fields of Netscape’s function table into our
// copy so we can call back into Netscape later. Note that
// we need to copy the fields one by one, rather than assigning
// the whole structure, because the Netscape function table