tizen 2.3.1 release
[framework/web/wearable/wrt-security.git] / src / services / ocsp / dbus / ocsp_server_dbus_interface.h
1 /*
2  * Copyright (c) 2011 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        ocsp_service_dbus_interface.h
18  * @author      Piotr Marcinkiewicz (p.marcinkiew@samsung.com)
19  * @version     1.0
20  * @brief       Class that handles OCSP server API.
21  */
22 #ifndef WRT_SRC_RPC_SECURITY_DAEMON_OCSP_SERVER_DBUS_INTERFACE_H_
23 #define WRT_SRC_RPC_SECURITY_DAEMON_OCSP_SERVER_DBUS_INTERFACE_H_
24
25 #include <list>
26 #include <dpl/dbus/dbus_interface_dispatcher.h>
27 #include "api/ocsp_server_dbus_api.h"
28
29 namespace RPC {
30
31 class OcspServerDBusInterface :
32     public DPL::DBus::InterfaceDispatcher
33 {
34   public:
35     OcspServerDBusInterface();
36
37     virtual ~OcspServerDBusInterface()
38     {}
39
40     virtual void onMethodCall(const gchar* method_name,
41                               GVariant* parameters,
42                               GDBusMethodInvocation* invocation);
43 };
44
45 } // namespace RPC
46
47 #endif // WRT_SRC_RPC_SECURITY_DAEMON_OCSP_SERVER_DBUS_INTERFACE_H_