pEpCOMServerAdapter.idl
changeset 72 6afc06b8c3c5
parent 70 000c4f33e0f8
child 73 9e7bbe855f19
     1.1 --- a/pEpCOMServerAdapter.idl	Tue May 03 20:15:26 2016 +0200
     1.2 +++ b/pEpCOMServerAdapter.idl	Wed May 11 16:35:59 2016 +0200
     1.3 @@ -261,6 +261,12 @@
     1.4      HRESULT decrypt_message([in] struct text_message *src, [out] struct text_message * dst, [out] SAFEARRAY(BSTR) *keylist, [out, retval] pEp_color *rating);
     1.5      HRESULT outgoing_message_color([in] struct text_message *msg, [out, retval] pEp_color * pVal);
     1.6      HRESULT identity_color([in] struct pEp_identity_s * ident, [out, retval] pEp_color * pVal);
     1.7 +
     1.8 +    typedef enum _sync_handshake_result {
     1.9 +        SYNC_HANDSHAKE_CANCEL = -1,
    1.10 +        SYNC_HANDSHAKE_ACCEPTED = 0,
    1.11 +        SYNC_HANDSHAKE_REJECTED = 1
    1.12 +    } sync_handshake_result;
    1.13  };
    1.14  
    1.15  [
    1.16 @@ -277,6 +283,8 @@
    1.17      {
    1.18      properties:
    1.19      methods:
    1.20 +        [id(1)] HRESULT messageToSend([in] struct text_message * msg);
    1.21 +        [id(2)] HRESULT showHandshake([in] struct pEp_identity_s * self, [in] struct pEp_identity_s * partner, [out, retval] sync_handshake_result *result);
    1.22      };
    1.23      [
    1.24          uuid(EF1B073D-5058-4E0E-829E-B4D22CA21EA2)