ThingWorx C SDK
|
Macros | |
#define | TW_ADD_FILE_TRANSFER_SHAPE() twFileManager_Create() |
Adds all services required for the current Thing to support File Transfers. Should be called once before using TW_SHARE_DIRECTORY(). More... | |
#define | TW_SHARE_DIRECTORY(alias, path) twFileManager_AddVirtualDir(_tw_thing_name, alias, path) |
Shares a directory on disk from within your application. Must be called after TW_ADD_FILE_TRANSFER_SHAPE(). Shared directories must exist before this macro is called. More... | |
#define TW_ADD_FILE_TRANSFER_SHAPE | ( | ) | twFileManager_Create() |
Adds all services required for the current Thing to support File Transfers. Should be called once before using TW_SHARE_DIRECTORY().
#define TW_SHARE_DIRECTORY | ( | alias, | |
path | |||
) | twFileManager_AddVirtualDir(_tw_thing_name, alias, path) |
Shares a directory on disk from within your application. Must be called after TW_ADD_FILE_TRANSFER_SHAPE(). Shared directories must exist before this macro is called.
alias | const char* [in] a Name of a virtual directory to be created off of your virtual root "/". Example: An alias of shared would appear as a virtual directory "/shared". |
path | const char* [in] A full path to the local directory you indend to share the contents of. |