3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 // Licensed under the Flora License, Version 1.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://floralicense.org/license/basic features necessary to define an UiApp.
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an AS IS BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
19 /*@file: IntNotification.h
20 *@brief: This header file contains the declarations of the Notification
24 #ifndef _INT_NOTIFICATION_H_
25 #define _INT_NOTIFICATION_H_
32 class NotificationPanel
33 : public Tizen::Ui::Controls::Panel
34 , public Tizen::Base::Runtime::ITimerEventListener
38 * @brief The Default Constructor
40 NotificationPanel(Tizen::Ui::Controls::Form& aForm);
43 * @brief The Default Destructor
45 ~NotificationPanel(void);
47 // ITimerEventListener
48 void OnTimerExpired(Tizen::Base::Runtime::Timer& timer);
51 * This function gets the Sets the __position (FooterPanelheight)
53 * @return No return type.
54 * @param int position.
56 void SetPositionDiff(int pos);
59 * This function displays the Notification
61 * @return No return type.
64 void ShowNotification(void);
67 * This function gets the Sets the text of the Notification
69 * @return No return type.
70 * @param message The Notification Message.
72 void SetText(Tizen::Base::String& message);
75 Tizen::Ui::Controls::Form& __form;
76 Tizen::Ui::Controls::Label* __pLabel;
78 Tizen::Base::Runtime::Timer* __pTimer;
81 #endif /* _INT_NOTIFICATION_H_ */