2 * Copyright (c) 2012, 2013 Samsung Electronics Co., Ltd.
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 #ifndef _MTP_EVENT_HANDLER_H_
18 #define _MTP_EVENT_HANDLER_H_
21 #include "mtp_datatype.h"
43 EVENT_CANCEL_INITIALIZATION,
49 EVENT_OBJECT_PROP_CHANGED,
57 mtp_bool _eh_register_notification_callbacks(void);
58 mtp_bool _eh_handle_usb_events(mtp_uint32 type);
59 void _eh_deregister_notification_callbacks(void);
60 void _handle_mmc_notification(keynode_t *key, void *data);
61 void _handle_lock_status_notification(keynode_t *key, void *data);
62 void _eh_send_event_req_to_eh_thread(event_code_t action, mtp_ulong param1,
63 mtp_ulong param2, void *param3);
65 #endif /* _MTP_EVENT_HANDLER_H_ */