d984c99505df1e5de4e845a63a4201a73c5d7978
[platform/core/security/cynara.git] / src / common / request / pointers.h
1 /*
2  * Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  *    Licensed under the Apache License, Version 2.0 (the "License");
5  *    you may not use this file except in compliance with the License.
6  *    You may obtain a copy of the License at
7  *
8  *        http://www.apache.org/licenses/LICENSE-2.0
9  *
10  *    Unless required by applicable law or agreed to in writing, software
11  *    distributed under the License is distributed on an "AS IS" BASIS,
12  *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  *    See the License for the specific language governing permissions and
14  *    limitations under the License.
15  */
16 /**
17  * @file        src/common/request/pointers.h
18  * @author      Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>
19  * @version     1.0
20  * @brief       This file defines request classes pointers
21  */
22
23 #ifndef SRC_COMMON_REQUEST_POINTERS_H_
24 #define SRC_COMMON_REQUEST_POINTERS_H_
25
26 #include <memory>
27
28 namespace Cynara {
29
30 class AdminCheckRequest;
31 typedef std::shared_ptr<AdminCheckRequest> AdminCheckRequestPtr;
32
33 class AgentActionRequest;
34 typedef std::shared_ptr<AgentActionRequest> AgentActionRequestPtr;
35
36 class AgentRegisterRequest;
37 typedef std::shared_ptr<AgentRegisterRequest> AgentRegisterRequestPtr;
38
39 class CancelRequest;
40 typedef std::shared_ptr<CancelRequest> CancelRequestPtr;
41
42 class CheckRequest;
43 typedef std::shared_ptr<CheckRequest> CheckRequestPtr;
44
45 class InsertOrUpdateBucketRequest;
46 typedef std::shared_ptr<InsertOrUpdateBucketRequest> InsertOrUpdateBucketRequestPtr;
47
48 class ListRequest;
49 typedef std::shared_ptr<ListRequest> ListRequestPtr;
50
51 class RemoveBucketRequest;
52 typedef std::shared_ptr<RemoveBucketRequest> RemoveBucketRequestPtr;
53
54 class Request;
55 typedef std::shared_ptr<Request> RequestPtr;
56
57 class RequestContext;
58 typedef std::shared_ptr<RequestContext> RequestContextPtr;
59
60 class RequestTaker;
61 typedef std::shared_ptr<RequestTaker> RequestTakerPtr;
62
63 class SetPoliciesRequest;
64 typedef std::shared_ptr<SetPoliciesRequest> SetPoliciesRequestPtr;
65
66 class SignalRequest;
67 typedef std::shared_ptr<SignalRequest> SignalRequestPtr;
68
69 } // namespace Cynara
70
71 #endif /* SRC_COMMON_REQUEST_POINTERS_H_ */