I think the generated API should be in a different namespace. You could have TpDBus::Presence for the generated code and Tp::Presence for the hand written code.
Le lundi 20 janvier 2014 à 18:35 +0100, David Edmundson a écrit : > One commit is going to make you weep. > > I have a problem with the rename of SimplePresence to Presence. > > In TpQt we autogenerate structs from the spec then make nice wrappers > round things. > We had a wrapper round theTp::SimplePresence struct in a hand written > class called Tp::Presence, which had methods and proper enums and > such. > > With the rename I have an automatically generated structure > Tp::Presence, which clashes with our wrapper which is also > Tp::Presence. I want to keep source comparability at least vaguely > similar especially for something so integral. > In a bodge commit I made to move forwards I patch the specification so > that the autogenerated structure is still called SimplePresence. > > There are a few options to resolve this, none of which seem particularly > ideal. > _______________________________________________ > telepathy mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/telepathy _______________________________________________ telepathy mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/telepathy
