RMS SDK for C++  0.2.1
A client library for using Microsoft RMS from Linux.
IConsentCallback.h
1 /*
2  * ======================================================================
3  * Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
4  * Licensed under the MIT License.
5  * See LICENSE.md in the project root for license information.
6  * ======================================================================
7 */
8 
9 #ifndef _RMS_LIB_ICONSENTCALLBACK_H_
10 #define _RMS_LIB_ICONSENTCALLBACK_H_
11 
12 #include <memory>
13 #include "IConsent.h"
14 #include "ModernAPIExport.h"
15 
16 namespace rmscore {
17 namespace modernapi {
18 using ConsentList = std::vector<std::shared_ptr<IConsent> >;
19 
25 public:
26 
35  virtual ConsentList Consents(ConsentList& consents) = 0;
36 };
37 } // namespace modernapi
38 } // namespace rmscore
39 
40 #endif // _RMS_LIB_ICONSENTCALLBACK_H_
virtual ConsentList Consents(ConsentList &consents)=0
Library user should implement this method to notify app user of actions to be taken and request their...
Definition: AuthenticationCallbackImpl.h:16
Callback to be provided by library user to notify app user of actions to be taken and request their c...
Definition: IConsentCallback.h:24