Beta merge 2
[profile/ivi/wrt-plugins-tizen.git] / src / platform / Tizen / Account / old / AccountService.h
1 /*
2  * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
3  *
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
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
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. 
15  */
16
17
18 /**
19  * @file        AccountService.h
20  * @author      Jihwa Park (jh7979.park@samsung.com)
21  * @author      Sangtai Kim
22  * @version     0.1
23  */
24
25 #ifndef _TIZEN_ACCOUNT_H_
26 #define _TIZEN_ACCOUNT_H_
27
28 #include <list>
29 #include "API/Account/IAccountService.h"
30 #include "AccountWrapper.h"
31
32 using namespace TizenApis::Api::Account;
33 //using namespace WrtDeviceApis::Commons;
34 //using namespace WrtDeviceApis::CommonsJavaScript;
35
36 namespace TizenApis {
37 namespace Platform {
38 namespace Account{
39 class AccountService : public IAccountService
40 {
41   public:
42     AccountService();
43     virtual ~AccountService();
44   protected:
45     virtual void OnRequestReceived(const IEventDeleteAccountPtr &account);
46     virtual void OnRequestReceived(const IEventUpdateAccountPtr &account);
47     virtual void OnRequestReceived(const IEventFindAccountsPtr &account);
48     virtual void OnRequestReceived(const IEventCreateAccountPtr &account);
49     virtual void OnRequestReceived(const IEventAddAccountPtr &account);
50
51 };
52
53 }
54 }
55 }
56 #endif