Tizen 2.1 base
[platform/framework/native/app-service.git] / inc / FApp_NotificationManagerService.h
1 //
2 // Open Service Platform
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 //
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
8 //
9 //     http://floralicense.org/license/
10 //
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.
16 //
17
18 /**
19  * @file         FApp_NotificationManagerService.h
20  * @brief       This is the header file of the _NotificationManagerService class.
21  *
22  * This header file contains the declarations of the _NotificationManagerService class.
23  */
24
25 #ifndef _FAPP_INTERNAL_NOTIFICATION_MANAGER_SERVICE_H_
26 #define _FAPP_INTERNAL_NOTIFICATION_MANAGER_SERVICE_H_
27
28
29 #include <appsvc/appsvc.h>
30 #include <bundle.h>
31 #include <notification/notification.h>
32 #include <appfw/app.h>
33 #include <appfw/app_manager.h>
34 #include <appfw/app_ui_notification.h>
35
36 #include <FBaseObject.h>
37 #include <FBaseString.h>
38 #include <FAppTypes.h>
39 #include <FShellNotificationRequest.h>
40
41
42 namespace Tizen { namespace App  {
43
44 /**
45  * @class       _NotificationManagerService
46  * @brief       This class contains implementaion of NotificationManager feature.
47  * @since 2.1
48  * @see         AppManager, _ConditionManagerProxy
49  */
50 class _NotificationManagerService
51         : public Tizen::Base::Object
52 {
53
54 public:
55         _NotificationManagerService(void);
56         virtual ~_NotificationManagerService(void);
57         result Construct(void);
58
59         result NotifyMessage(const AppId& appId,const Tizen::Shell::NotificationRequest& notiMessage, bool OnGoing);
60         result RemoveNotification(const AppId& appId, bool Ongoing);
61
62 };
63
64 }} //Tizen::App
65 #endif // _FAPP_INTERNAL_NOTIFICATION_MANAGER_SERVICE_H_