Interface IST_ResourceManager
Assembly: STResourceManager.dll
Syntax
[Guid("48D5B184-AB8C-4156-AACE-E06C235E398E")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IST_ResourceManager
Properties
ConfigFileName
Current resource configuration filename
Declaration
string ConfigFileName { get; }
Property Value
DefaultExtension[TST_ResourceType]
Declaration
string DefaultExtension[TST_ResourceType ResType] { get; }
Parameters
Property Value
Directories[TST_ResourceType]
Declaration
IST_ResourceSearchPathItem Directories[TST_ResourceType AResourceType] { get; }
Parameters
Property Value
NSManager
Declaration
object NSManager { get; set; }
Property Value
SectionCount
Number of resource sections
Declaration
int SectionCount { get; }
Property Value
this[int]
Declaration
IST_ResourceSection this[int Index] { get; }
Parameters
| Type |
Name |
Description |
| int |
Index |
|
Property Value
TempFolderName
Temporary files directory
Declaration
string TempFolderName { get; set; }
Property Value
Methods
AddResource(string, string, TST_ResourceType, TST_ResourceStorageType)
Declaration
IST_Resource AddResource(string AName, string ANameSpace, TST_ResourceType AType, TST_ResourceStorageType AStorage)
Parameters
Returns
Clear()
Clear all resource references
Declaration
ClearDirectories()
Clear all resource search paths
Declaration
ClearEmbeddedResources(object)
Remove all project-embedded resources
Declaration
void ClearEmbeddedResources(object ProjectPointer)
Parameters
| Type |
Name |
Description |
| object |
ProjectPointer |
|
DeleteResource(string, string, TST_ResourceType, bool)
Declaration
void DeleteResource(string AName, string ANameSpace, TST_ResourceType AType, bool Physically)
Parameters
FindResource(TST_ResourceType, string, string)
Declaration
IST_Resource FindResource(TST_ResourceType AType, string AName, string ANameSpace)
Parameters
Returns
FindResourceInSearchPath(TST_ResourceType, string, string, IST_ResourceLoader)
Declaration
IST_Resource FindResourceInSearchPath(TST_ResourceType AType, string AName, string ANameSpace, IST_ResourceLoader ALoader)
Parameters
Returns
FindSection(TST_ResourceType, TST_ResourceStorageType)
Declaration
int FindSection(TST_ResourceType AResourceType, TST_ResourceStorageType AStorage)
Parameters
Returns
LoadEmbeddedResources(IStream, object)
Load project-embedded resources
Declaration
void LoadEmbeddedResources(IStream Stream, object ProjectPointer)
Parameters
LoadResourceConfiguration(string)
Load resource configuration from file
Declaration
void LoadResourceConfiguration(string AConfigFile)
Parameters
| Type |
Name |
Description |
| string |
AConfigFile |
|
SaveEmbeddedResources(IStream, object)
Save resources to project
Declaration
void SaveEmbeddedResources(IStream Stream, object ProjectPointer)
Parameters
SaveResourceConfiguration(string)
Save resource configuration to file
Declaration
void SaveResourceConfiguration(string AConfigFile)
Parameters
| Type |
Name |
Description |
| string |
AConfigFile |
- Target configuration file path
|