~thomas-voss/location-service/fix-rtd-docs-next

« back to all changes in this revision

Viewing changes to include/location/events/wifi_and_cell_id_reporting_state_changed.h

  • Committer: Thomas Voß
  • Date: 2016-08-26 11:57:39 UTC
  • mfrom: (261.1.5 refactor-public-structs)
  • Revision ID: thomas.voss@canonical.com-20160826115739-uibmrkoarr24dr6i
Merge lp:~thomas-voss/location-service/ramp-up-abi-stability.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#define LOCATION_EVENTS_WIFI_AND_CELL_ID_REPORTING_STATE_CHANGED_H_
21
21
 
22
22
#include <location/event.h>
 
23
#include <location/visibility.h>
23
24
 
24
25
#include <location/wifi_and_cell_reporting_state.h>
25
26
 
28
29
namespace events
29
30
{
30
31
/// @brief WifiAndCellIdReportingStateChanged is sent if the WifiAndCellIdReportingState changed.
31
 
class WifiAndCellIdReportingStateChanged : public Event
 
32
class LOCATION_DLL_PUBLIC WifiAndCellIdReportingStateChanged : public Event
32
33
{
33
34
public:
34
35
    /// @brief WifiAndCellIdReportingStateChanged initializes a new instance with new_state.
35
36
    WifiAndCellIdReportingStateChanged(WifiAndCellIdReportingState new_state);
36
37
    /// @brief WifiAndCellIdReportingStateChanged initializes a new instance from rhs.
37
38
    WifiAndCellIdReportingStateChanged(const WifiAndCellIdReportingStateChanged& rhs);
 
39
    /// @brief WifiAndCellIdReportingStateChanged initializes a new instance from rhs.
 
40
    WifiAndCellIdReportingStateChanged(WifiAndCellIdReportingStateChanged&& rhs);
 
41
    /// @cond
 
42
    ~WifiAndCellIdReportingStateChanged() override;
 
43
    /// @endcond
38
44
    /// @brief operator= assigns rhs to this instance.
39
45
    WifiAndCellIdReportingStateChanged& operator=(const WifiAndCellIdReportingStateChanged& rhs);
 
46
    /// @brief operator= move assigns rhs to this instance.
 
47
    WifiAndCellIdReportingStateChanged& operator=(WifiAndCellIdReportingStateChanged&& rhs);
40
48
 
41
49
    /// @brief new_state returns the new state.
42
50
    WifiAndCellIdReportingState new_state() const;
45
53
    Type type() const override;
46
54
 
47
55
private:
48
 
    WifiAndCellIdReportingState new_state_;
 
56
    struct Private;
 
57
    std::unique_ptr<Private> d;
49
58
};
50
59
}
51
60
template<>