1 #ifndef CBE__delegate__ShareDelegate_h__
2 #define CBE__delegate__ShareDelegate_h__
5 #include "cbe/delegate/Error.h"
6 #include "cbe/util/Context.h"
7 #include "cbe/util/ErrorInfo.h"
8 #include "cbe/util/Exception.h"
89 explicit operator bool()
const;
Definition: ShareDelegate.h:20
virtual void onShareSuccess(cbe::ShareId shareId)=0
virtual void onShareError(Error &&error, cbe::util::Context &&context)=0
Convenience type that bundles the parameter passed to method cbe::delegate::ShareDelegate::onShareSuc...
Definition: ShareDelegate.h:77
std::shared_ptr< ShareDelegate > ShareDelegatePtr
Definition: ShareDelegate.h:70
Root namespace for the CloudBackend SDK API.
Definition: Account.h:22
std::uint64_t ShareId
Uniquely identifies a sharing of a cbe::Container or cbe::Object.
Definition: Types.h:113
DefaultCtor
Default constructor marker.
Definition: Types.h:204
Definition: ShareDelegate.h:42
Definition: ErrorInfo.h:27
Definition: Exception.h:38