zones, subscribe and unsubscribe support

XWALK-865

Not according to the struct vs class section.  This strict has no
functions.  It should be a strict according to my reading of the style guide
On Sep 18, 2014 8:33 AM, "Halton Huo" <notifications@github.com> wrote:

> In vehicle/vehicle.h:
>
> > @@ -20,6 +22,36 @@ class Instance;
> >
> >  }  // namespace common
> >
> > +class ObjectZone {
> > + public:
> > +  ObjectZone():zone(0) {}
> > +
> > +  ObjectZone(std::string o, int z, std::string op)
> > +    : name(o), zone(z), object_path(op) {}
> > +
> > +  ObjectZone(ObjectZone const & other)
> > +    : name(other.name), zone(other.zone), object_path(other.object_path) {}
> > +
> > +  std::string name;
> > +  int zone;
> > +  uint handle;
> > +
> > +  std::string object_path;
>
> As I said, making struct is not correct, this should be class.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/crosswalk-project/tizen-extensions-crosswalk/pull/365/files#r17734603>
> .
>