InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IDBaseResourceShell Namespace Reference

Functions

bool GetPathToPluginResourcesDirectory (const PluginID &pluginID, IDFile &resourcesDir, const PlugInData *pluginData=nil)
 

Detailed Description

Base resource implementation

Function Documentation

bool IDBaseResourceShell::GetPathToPluginResourcesDirectory (const PluginIDpluginID,
IDFileresourcesDir,
const PlugInData * pluginData = nil 
)

Informs the caller where the resource directory is for a given plugin

Parameters
pluginID[IN] id of desired plugin's path
resourcesDir[OUT] will be populated with the correct path upon success
pluginData[IN] [OPTIONAL] should be used when trying to get a path before the PlugInList is populated (very early startup)
Returns
true on success, false on failure, caller should check for true or alternatively check for .Exists() on the IDFile