pEpCOMServerAdapter.idl
changeset 8 6fe51215f252
parent 5 d959f594e4f7
child 12 2f0ba9d79082
     1.1 --- a/pEpCOMServerAdapter.idl	Fri Apr 24 07:34:00 2015 +0200
     1.2 +++ b/pEpCOMServerAdapter.idl	Fri Apr 24 17:19:41 2015 +0200
     1.3 @@ -119,6 +119,7 @@
     1.4      HRESULT examine_myself([in] struct pEp_identity_s * myself);
     1.5      HRESULT myself([in] struct pEp_identity_s *ident, [out, retval] struct pEp_identity_s *result);
     1.6      HRESULT update_identity([in] struct pEp_identity_s *ident, [out, retval] struct pEp_identity_s *result);
     1.7 +    HRESULT key_compromized([in] BSTR fpr);
     1.8  };
     1.9  
    1.10  [
    1.11 @@ -153,8 +154,19 @@
    1.12          pEp_enc_PGP_MIME,                       // RFC3156
    1.13          pEp_enc_pEp                             // pEp encryption format
    1.14      } pEp_enc_format;
    1.15 +};
    1.16  
    1.17 -    HRESULT key_compromized([in] BSTR fpr);
    1.18 +[
    1.19 +	object,
    1.20 +	uuid(161538F9-53C8-4D9C-8BA4-0FB43AEC7106),
    1.21 +	oleautomation,
    1.22 +	nonextensible,
    1.23 +	pointer_default(unique)
    1.24 +]
    1.25 +interface ITextMessage : IUnknown {
    1.26 +
    1.27 +    [propget] HRESULT from([out, retval] struct pEp_identity_s* pVal);
    1.28 +    [propput] HRESULT from([in] struct pEp_identity_s *newVal);
    1.29  };
    1.30  
    1.31  [
    1.32 @@ -180,5 +192,21 @@
    1.33          [default, source] dispinterface _IpEpEngineEvents;
    1.34          interface IMessageAPI_Outlook;
    1.35      };
    1.36 +	[
    1.37 +		uuid(844B5363-4EF4-4A39-A030-16452783A6F7)		
    1.38 +	]
    1.39 +	dispinterface _ITextMessageEvents
    1.40 +	{
    1.41 +		properties:
    1.42 +		methods:
    1.43 +	};
    1.44 +	[
    1.45 +		uuid(B6CC444F-FE14-4DFE-8315-81E4EA16C1CC)		
    1.46 +	]
    1.47 +	coclass TextMessage
    1.48 +	{
    1.49 +		[default] interface ITextMessage;
    1.50 +		[default, source] dispinterface _ITextMessageEvents;
    1.51 +	};
    1.52  };
    1.53