Public Member Functions |
|
FBAssetMng (str pName) | |
Constructor. |
|
FBAssetFile | BrowseForFile () |
Let the user browse the asset database to
select a file. |
|
FBAssetFolder | BrowseForFolder () |
Let the user browse the asset database to
select a folder. |
|
bool | CheckAvailability () |
Check if this manager can be used on the
computer. |
|
FBAssetFolder | CreateServerPath (str pServerPath) |
Create a folder path on the server side by
adding each missing folders. |
|
bool | FileIsManaged (str pFilename) |
Is the specified local file managed (ie.
|
|
FBAssetFile | GetAssetFile (str pServerFilename) |
Get a file object
using it's server path. |
|
FBAssetFile | GetAssetFileFromLocalPath (str pLocalFilename) |
Get a file object
using it's local path. |
|
FBAssetFolder | GetAssetFolder (str pServerPath) |
Get a folder object
using it's server path. |
|
FBAssetFolder | GetAssetFolderFromLocalPath (str pLocalPath) |
Get a folder object
using it's local path. |
|
int | GetFileOptions () |
Get the file options (i.e. |
|
bool | Initialize () |
Initialize the connection to the server.
|
|
str | MapLocalPathToServerPath (str pLocalPath) |
Convert the local path to a server path by
using managed paths mapping. |
|
ShowSettings () | |
Display a dialog that let the user changes
settings. |
|
bool | WithinManagedPath (str pLocalPath) |
Is the specified local path below a managed
path. |
|
Public Attributes |
|
str | Description |
Read Write Property: Description of
the manager. |
|
str | LastError |
Last error string. |
|
int | MenuFlags |
Read Write Property: Flags specifing
which menu items are added by the manager. |
|
str | Name |
Read Write Property: Unique Name.
|
FBAssetMng | ( | str | pName | ) |
Constructor.
pName | Name of Command. |
FBAssetFile BrowseForFile | ( | ) |
Let the user browse the asset database to select a file.
FBAssetFolder BrowseForFolder | ( | ) |
Let the user browse the asset database to select a folder.
bool CheckAvailability | ( | ) |
Check if this manager can be used on the computer.
FBAssetFolder CreateServerPath | ( | str | pServerPath | ) |
Create a folder path on the server side by adding each missing folders.
pServerPath | The path to create on the server side. |
Is the specified local file managed (ie.
also present in the database).
pFilename | Path to the file on the local disk. |
FBAssetFile GetAssetFile | ( | str | pServerFilename | ) |
FBAssetFile GetAssetFileFromLocalPath | ( | str | pLocalFilename | ) |
FBAssetFolder GetAssetFolder | ( | str | pServerPath | ) |
FBAssetFolder GetAssetFolderFromLocalPath | ( | str | pLocalPath | ) |
int GetFileOptions | ( | ) |
Get the file options (i.e.
what to do when loading, saving or closing managed files).
bool Initialize | ( | ) |
Initialize the connection to the server.
Convert the local path to a server path by using managed paths mapping.
pLocalPath | Local path to be mapped. |
ShowSettings | ( | ) |
Display a dialog that let the user changes settings.
Is the specified local path below a managed path.
pLocalPath | Local path to be checked. |
Read Write Property: Description of the manager.
Read Write Property: Unique Name.
Reimplemented from FBComponent.