~marcustomlinson/unity-scopes-api/oa-test-fix

« back to all changes in this revision

Viewing changes to include/unity/scopes/SearchListenerBase.h

  • Committer: Tarmac
  • Author(s): Pawel Stolowski
  • Date: 2016-06-28 09:56:43 UTC
  • mfrom: (677.2.6 update-push-filters)
  • Revision ID: tarmac-20160628095643-1iq0wxmb41jh2ill
Marked the push(Filters const&, FilterState const&) method of SearchReply and SearchListenerBase
as deprecated and provided push methods which take Filters argument only. Fixes: https://bugs.launchpad.net/bugs/1566952.

Approved by PS Jenkins bot, Marcus Tomlinson.

Show diffs side-by-side

added added

removed removed

Lines of Context:
96
96
    /**
97
97
    \brief Called once by the scopes to send all the filters and their state.
98
98
 
 
99
    \deprecated Please override the push(Filters& const) method instead. This method will be removed from future releases.
 
100
 
99
101
    The default implementation does nothing.
100
102
    */
101
103
    virtual void push(Filters const& filters, FilterState const& filter_state);
102
104
 
 
105
    /**
 
106
    \brief Called once by the scope to send all filters and their states.
 
107
 
 
108
    The default implementation does nothing.
 
109
    */
 
110
    virtual void push(Filters const& filters);
 
111
 
103
112
protected:
104
113
    /// @cond
105
114
    SearchListenerBase();