RMS SDK for C++  0.2.1
A client library for using Microsoft RMS from Linux.
CallState.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 CALLSTATE_H
10 #define CALLSTATE_H
11 #include "AuthorityType.h"
12 #include "Guid.h"
13 
14 namespace rmsauth {
15 
16 class CallState
17 {
18  Guid correlationId_;
19  bool callSync_;
20  AuthorityType authorityType_;
21 
22 public:
23  CallState(Guid& correlationId, bool callSync);
24 
25  const Guid& correlationId() const { return correlationId_;} // getter
26  void correlationId(const Guid& val) { correlationId_ = val;} // setter
27 
28  bool callSync() const { return callSync_;}
29  void callSync(const bool val) { callSync_ = val;}
30 
31  const AuthorityType& authorityType() const { return authorityType_;}
32  void authorityType(const AuthorityType& val) { authorityType_ = val;}
33 };
34 
35 using CallStatePtr = ptr<CallState>;
36 
37 } // namespace rmsauth {
38 
39 #endif // CALLSTATE_H
Definition: CallState.h:16
Definition: AcquireTokenForClientHandler.h:14
Definition: Guid.h:23