SDK  2.1.4 [async]
CloudBackend Software Development Kit - SDK API for C++
ICloudBackendListener.h
1 #ifndef CBE__delegate__ICloudBackendListener_h__
2 #define CBE__delegate__ICloudBackendListener_h__
3 
4 #include "cbe/QueryResult.h"
5 #include "cbe/Types.h"
6 
7 #include "cbe/delegate/Error.h"
8 
9 #include "cbe/util/Context.h"
10 #include "cbe/util/ErrorInfo.h"
11 #include "cbe/util/Exception.h"
12 
13 #include <memory>
14 
15 namespace cbe {
16  namespace delegate {
18  public:
23  virtual void onRemoteObjectAdded(cbe::Object&& object) = 0;
24 
29  virtual void onRemoteObjectMoved(cbe::Object&& object) = 0;
30 
36  virtual void onRemoteObjectRemoved(cbe::ItemId objectId,
37  std::string name) = 0;
38 
43  virtual void onRemoteObjectRenamed(cbe::Object&& object) = 0;
44 
49  virtual void onRemoteContainerAdded(cbe::Container&& container) = 0;
50 
55  virtual void onRemoteContainerMoved(cbe::Container&& container) = 0;
56 
62  virtual void onRemoteContainerRemoved(cbe::ItemId containerId,
63  std::string name) = 0;
64 
69  virtual void onRemoteContainerRenamed(cbe::Container&& container) = 0;
70 
71  virtual ~ICloudBackendListener();
72  }; // struct ICloudBackendListener
76 using ICloudBackendListenerPtr = std::shared_ptr<ICloudBackendListener>;
77  } // namespace delegate
78 } // namespace cbe
79 
80 #endif // !CBE__delegate__ICloudBackendListener_h__
A collection of Item, can also represent a table or folder.
Definition: Container.h:63
Holder of a set of data, can represent a table row.
Definition: Object.h:64
Definition: ICloudBackendListener.h:17
virtual void onRemoteContainerRenamed(cbe::Container &&container)=0
virtual void onRemoteContainerRemoved(cbe::ItemId containerId, std::string name)=0
virtual void onRemoteContainerMoved(cbe::Container &&container)=0
virtual void onRemoteObjectRemoved(cbe::ItemId objectId, std::string name)=0
virtual void onRemoteObjectAdded(cbe::Object &&object)=0
virtual void onRemoteObjectMoved(cbe::Object &&object)=0
virtual void onRemoteObjectRenamed(cbe::Object &&object)=0
virtual void onRemoteContainerAdded(cbe::Container &&container)=0
std::shared_ptr< ICloudBackendListener > ICloudBackendListenerPtr
Definition: ICloudBackendListener.h:76
Root namespace for the CloudBackend SDK API.
Definition: Account.h:22
std::uint64_t ItemId
Id of a cbe::Container or cbe::Object.
Definition: Types.h:88