update the latest source
[platform/core/connectivity/smartcard-service.git] / common / include / SEServiceHelper.h
1 /*
2 * Copyright (c) 2012 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
18 #ifndef SESERVICEHELPER_H_
19 #define SESERVICEHELPER_H_
20
21 /* standard library header */
22 #include <vector>
23
24 /* SLP library header */
25
26 /* local header */
27 #include "Synchronous.h"
28 #include "ReaderHelper.h"
29
30 using namespace std;
31
32 namespace smartcard_service_api
33 {
34         class SEServiceHelper : public Synchronous
35         {
36         protected:
37                 bool connected;
38                 vector<ReaderHelper *> readers;
39
40         public:
41                 SEServiceHelper();
42                 ~SEServiceHelper();
43
44                 vector<ReaderHelper *> getReaders();
45                 bool isConnected();
46                 void shutdown();
47         };
48
49 } /* namespace smartcard_service_api */
50 #endif /* SESERVICEHELPER_H_ */