Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bd76895f authored by Pawin Vongmasa's avatar Pawin Vongmasa
Browse files

Add member typedef referring to base interface

A member typedef named "BaseInterface" is added to BnInterface and
BpInterface to refer to the base interface class.

Test: Builds

Bug: 123736523
Change-Id: Iae4c18cb037481edc357fde1edc718acb79ecc23
parent 2c9ea719
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -54,6 +54,7 @@ public:
    virtual const String16&     getInterfaceDescriptor() const;

protected:
    typedef INTERFACE           BaseInterface;
    virtual IBinder*            onAsBinder();
};

@@ -66,6 +67,7 @@ public:
    explicit                    BpInterface(const sp<IBinder>& remote);

protected:
    typedef INTERFACE           BaseInterface;
    virtual IBinder*            onAsBinder();
};