~jpakkane/+junk/gtestfix

« back to all changes in this revision

Viewing changes to include/com/ubuntu/connectivity/networking/service.h

  • Committer: Antti Kaijanmäki
  • Date: 2014-02-06 17:35:15 UTC
  • Revision ID: antti.kaijanmaki@canonical.com-20140206173515-mioknrhv88dihqsb
Add Class::Ptr typedefs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
{
35
35
public:
36
36
 
 
37
    typedef std::shared_ptr<Service> Ptr;
 
38
 
37
39
    enum class Type {
38
40
        tethering,
39
41
        tor,
58
60
    //        // we have a link coming from the service
59
61
    //        do_something_with(link);
60
62
    //    }
61
 
    virtual std::shared_ptr<Link> link() = 0;
 
63
    virtual Link::Ptr link() = 0;
62
64
 
63
65
    virtual void start()  = 0;
64
66
    virtual void stop() = 0;