diff options
author | Rider Linden <rider@lindenlab.com> | 2015-08-28 10:05:15 -0700 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2015-08-28 10:05:15 -0700 |
commit | 02c3262ac8e7f27b0effb546ad235e103c9581cf (patch) | |
tree | 0c432abf7c57e55e11d3f480ad17ceccce89ed89 /indra/newview/llaisapi.h | |
parent | ac3af19539e0f3a4d8557cc68f19781893de2fc3 (diff) |
MAINT-5574: Added default parameter for callbalk on AISAPI interface.
Better check on callback exsit in coroutine
Don't create AISAPI::completion_t if there is no call back passed.
Diffstat (limited to 'indra/newview/llaisapi.h')
-rwxr-xr-x | indra/newview/llaisapi.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/indra/newview/llaisapi.h b/indra/newview/llaisapi.h index cc6bda3c7f..2de8003c2f 100755 --- a/indra/newview/llaisapi.h +++ b/indra/newview/llaisapi.h @@ -46,14 +46,14 @@ public: static bool isAvailable(); static void getCapNames(LLSD& capNames); - static void CreateInventory(const LLUUID& parentId, const LLSD& newInventory, completion_t callback); - static void SlamFolder(const LLUUID& folderId, const LLSD& newInventory, completion_t callback); - static void RemoveCategory(const LLUUID &categoryId, completion_t callback); - static void RemoveItem(const LLUUID &itemId, completion_t callback); - static void PurgeDescendents(const LLUUID &categoryId, completion_t callback); - static void UpdateCategory(const LLUUID &categoryId, const LLSD &updates, completion_t callback); - static void UpdateItem(const LLUUID &itemId, const LLSD &updates, completion_t callback); - static void CopyLibraryCategory(const LLUUID& sourceId, const LLUUID& destId, bool copySubfolders, completion_t callback); + static void CreateInventory(const LLUUID& parentId, const LLSD& newInventory, completion_t callback = completion_t()); + static void SlamFolder(const LLUUID& folderId, const LLSD& newInventory, completion_t callback = completion_t()); + static void RemoveCategory(const LLUUID &categoryId, completion_t callback = completion_t()); + static void RemoveItem(const LLUUID &itemId, completion_t callback = completion_t()); + static void PurgeDescendents(const LLUUID &categoryId, completion_t callback = completion_t()); + static void UpdateCategory(const LLUUID &categoryId, const LLSD &updates, completion_t callback = completion_t()); + static void UpdateItem(const LLUUID &itemId, const LLSD &updates, completion_t callback = completion_t()); + static void CopyLibraryCategory(const LLUUID& sourceId, const LLUUID& destId, bool copySubfolders, completion_t callback = completion_t()); private: typedef enum { |