X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fminicontrol-internal.h;h=1f3e9ea43a7e281e8d166d270690b816d9baea17;hb=refs%2Ftags%2Fsubmit%2Ftizen_2.3.1%2F20150915.072836;hp=b5412139faf16e4aa336ef9d674bbefb944763b2;hpb=8dc1bc1da94a2ecb86b68894addd5c0683fcffb0;p=apps%2Fhome%2Fminicontrol.git diff --git a/include/minicontrol-internal.h b/include/minicontrol-internal.h index b541213..1f3e9ea 100755 --- a/include/minicontrol-internal.h +++ b/include/minicontrol-internal.h @@ -1,14 +1,14 @@ /* - * Copyright 2012 Samsung Electronics Co., Ltd + * Copyright (c) 2013-2015 Samsung Electronics Co., Ltd All Rights Reserved * - * Licensed under the Flora License, Version 1.0 (the "License"); + * Licensed under the Apache License, Version 2.0 (the License); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.tizenopensource.org/license + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, + * distributed under the License is distributed on an AS IS BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. @@ -19,21 +19,26 @@ #include #include "minicontrol-type.h" +#include "minicontrol-internal-handler.h" +#include "minicontrol-handler.h" #ifndef EXPORT_API #define EXPORT_API __attribute__ ((visibility("default"))) #endif /* EXPORT_API */ #define MINICTRL_DBUS_SIG_START "minicontrol_start" +#define MINICTRL_DBUS_SIG_REALIZE "minicontrol_realize" #define MINICTRL_DBUS_SIG_STOP "minicontrol_stop" #define MINICTRL_DBUS_SIG_RESIZE "minicontrol_resize" #define MINICTRL_DBUS_SIG_RUNNING_REQ "minicontrol_running_request" +#define MINICTRL_DBUS_SIG_REQUEST "minicontrol_request" typedef struct _minictrl_sig_handle minictrl_sig_handle; int _minictrl_provider_message_send(const char *sig_name, const char *svr_name, unsigned int witdh, unsigned int height, - minicontrol_priority_e priority); + minicontrol_priority_e priority, + minicontrol_h handler); int _minictrl_viewer_req_message_send(void); @@ -43,5 +48,7 @@ minictrl_sig_handle *_minictrl_dbus_sig_handle_attach(const char *signal, void _minictrl_dbus_sig_handle_dettach(minictrl_sig_handle *handle); +int _minictrl_provider_proc_send(int type); + #endif /* _MINICTRL_INTERNAL_H_ */