xplc_ptr changes :
- all xplc_ptr constructors do an addRef()
- add a static protected method which returns a non
addRef()ed xplc_ptr
- declare XPLC class as friend of xplc_ptr
- update the copy constructor to only take the same
xplc_ptr type
- move the operator=(xplc_ptr) in the public part
XPLC class changes :
- add some new constructors in XPLC which directly return
a valid xplc_ptr with a refCount at 1
mutate method changes :
- the interface is only released if the getInterface() returns
a valid pointer
Lionel Petit <ptiyo at="" ipsquad="" dot="" net="">
xplc_ptr patch