22 #ifndef USSERVICELISTENERHOOK_H
23 #define USSERVICELISTENERHOOK_H
34 class ServiceListenerEntry;
50 class ListenerInfoData;
62 ListenerInfo(
const ListenerInfo& other);
66 ListenerInfo& operator=(
const ListenerInfo& other);
90 std::string GetFilter()
const;
111 bool IsRemoved()
const;
125 bool operator==(
const ListenerInfo& other)
const;
129 friend class ServiceListenerEntry;
133 ListenerInfo(ListenerInfoData* data);
135 ExplicitlySharedDataPointer<ListenerInfoData> d;
138 virtual ~ServiceListenerHook();
151 virtual void Added(
const std::vector<ListenerInfo>& listeners) = 0;
162 virtual void Removed(
const std::vector<ListenerInfo>& listeners) = 0;
174 #endif // USSERVICELISTENERHOOK_H