RMS SDK for C++  0.2.1
A client library for using Microsoft RMS from Linux.
IConsentCallbackImpl.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_ICONSENTCALLBACKIMPL_H_
10 #define _RMS_LIB_ICONSENTCALLBACKIMPL_H_
11 #include <vector>
12 #include "ModernAPIExport.h"
13 
14 namespace rmscore {
15 namespace modernapi {
16 /*
17 *@brief Interface for managing user consents.
18 */
20 public:
28  virtual void Consents(const std::string & email,
29  const std::string & domain,
30  const std::vector<std::string>& urls) = 0;
31 };
32 } // namespace modernapi
33 } // namespace rmscore
34 #endif // _RMS_LIB_ICONSENTCALLBACKIMPL_H_
Definition: IConsentCallbackImpl.h:19
virtual void Consents(const std::string &email, const std::string &domain, const std::vector< std::string > &urls)=0
You, the app developer, will implement this method to prompt the user for their consent.
Definition: AuthenticationCallbackImpl.h:16