tizen 2.3.1 release
[framework/security/key-manager.git] / src / manager / listener / listener-thread.h
1 /*
2  *  Copyright (c) 2014 Samsung Electronics Co.
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        listener-thread.h
18  * @author      Dongseon Lee(ds72.lee@samsung.com)
19  * @version     1.0
20  * @brief       Listener thread header file.
21  */
22 #pragma once
23
24 #include <glib.h>
25
26
27 namespace CKM {
28
29 class ListenerThread
30 {
31 public:
32     ListenerThread();
33     ListenerThread(const ListenerThread &) = delete;
34     ListenerThread(ListenerThread &&) = delete;
35     ListenerThread& operator=(const ListenerThread &) = delete;
36     ListenerThread& operator=(ListenerThread &&) = delete;
37     virtual ~ListenerThread();
38
39     virtual void start();
40
41 private:
42     GMainLoop *main_loop;
43 };
44
45 } // namespace CKM