2 // Open Service Platform
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 // Licensed under the Apache License, Version 2.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://www.apache.org/licenses/LICENSE-2.0
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 FApp_NotificationManagerStub.h
20 * @brief This is the header file of the _NotificationManagerStub class.
22 * This header file contains the declarations of the _NotificationManagerStub class.
25 #ifndef _FAPP_INTERNAL_NOTIFICATION_MANAGER_STUB_H_
26 #define _FAPP_INTERNAL_NOTIFICATION_MANAGER_STUB_H_
29 #include <FBaseObject.h>
30 #include <FBaseString.h>
31 #include <FAppTypes.h>
32 #include <FShellNotificationRequest.h>
34 #include <FIo_IIpcServerEventListener.h>
37 namespace Tizen { namespace App {
39 class _NotificationManagerService;
41 class _NotificationManagerStub :
42 public Tizen::Base::Object,
43 public Tizen::Io::_IIpcServerEventListener
47 _NotificationManagerStub(void);
48 virtual ~_NotificationManagerStub(void);
49 result Construct(void);
52 void OnNotifyMessage(const Tizen::App::AppId& appId, const Tizen::Shell::NotificationRequest& notimessage, bool OnGoing, result* pRes);
53 void OnRemoveNotification(const Tizen::App::AppId& appId, bool Ongoing, result* pRes);
56 _NotificationManagerStub(const _NotificationManagerStub& value);
57 _NotificationManagerStub& operator =(const _NotificationManagerStub& source);
59 // _IIpcServerEventListener
60 virtual void OnIpcServerStarted(const Tizen::Io::_IpcServer& server);
61 virtual void OnIpcServerStopped(const Tizen::Io::_IpcServer& server);
62 virtual void OnIpcClientConnected(const Tizen::Io::_IpcServer& server, int clientId);
63 virtual void OnIpcClientDisconnected(const Tizen::Io::_IpcServer&server, int clientId);
64 virtual void OnIpcRequestReceived(Tizen::Io::_IpcServer& server, const IPC::Message& message);
67 result StartIpcServer(void);
70 Tizen::Io::_IpcServer* __pIpcServer;
71 _NotificationManagerService* __pNotificationManagerService;
72 }; //_NotificationManagerStub
76 #endif // _FAPP_INTERNAL_NOTIFICATION_MANAGER_STUB_H_