client-cpp  0.8.1
IProfileListener.hpp
Go to the documentation of this file.
1 
17 #ifndef I_PROFILE_LISTENER_HPP_
18 #define I_PROFILE_LISTENER_HPP_
19 
20 #include <memory>
21 
23 
24 namespace kaa {
25 
27 typedef std::shared_ptr<IProfileListener> ProfileListenerPtr;
28 
37 public:
38 
45  virtual void onProfileUpdated(SharedDataBuffer profile) = 0;
46 
47  virtual ~IProfileListener() {}
48 };
49 
50 } /* namespace kaa */
51 
52 #endif /* I_PROFILE_LISTENER_HPP_ */
virtual void onProfileUpdated(SharedDataBuffer profile)=0
std::shared_ptr< IProfileListener > ProfileListenerPtr
std::pair< boost::shared_array< std::uint8_t >, std::uint32_t > SharedDataBuffer