blob: f3ba0d9b1a0e433ed9a8154487eca1bb21d62334 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
/*
* Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
*
* 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.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,
* 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.
*/
#ifndef _ACCOUNT_PLUGIN_CONFIG_H_
#define _ACCOUNT_PLUGIN_CONFIG_H_
#include <string>
#include <Commons/FunctionDeclaration.h>
namespace TizenApis {
namespace Tizen1_0 {
namespace Account{
#define ACCOUNT_FUNCTION_API_ADD_ACCOUNT "addAccount"
#define ACCOUNT_FUNCTION_API_ADD_LISTENER_ACCOUNTS "addAccountListener"
#define ACCOUNT_FUNCTION_API_REMOVE_LISTENER_ACCOUNTS "removeAccountListener"
#define ACCOUNT_FUNCTION_API_GET_ACCOUNT_BY_ID "getAccountById"
#define ACCOUNT_FUNCTION_API_GET_SERVICETYPE_BY_ID "getServiceTypeById"
#define ACCOUNT_FUNCTION_API_GET_PROVIDER_BY_ID "getProviderById"
#define ACCOUNT_FUNCTION_API_FIND_ACCOUNTS_BY_SERVICETYPE "findAccountsByServiceType"
#define ACCOUNT_FUNCTION_API_FIND_ACCOUNTS_BY_TAGS "findAccountsByTags"
#define ACCOUNT_FUNCTION_API_FIND_SERVICES_BY_TAGS "findServicesByTags"
#define ACCOUNT_FUNCTION_API_FIND_PROVIDERS "findProviders"
#define ACCOUNT_FUNCTION_API_FIND_SERVICETYPES "findServiceTypes"
#define ACCOUNT_FUNCTION_API_GET_SERVICE_BY_NAME "getServiceByName"
#define ACCOUNT_FUNCTION_API_GET_SERVICE_BY_ID "getServiceById"
DECLARE_FUNCTION_GETTER(Account);
// TODO : should confirm getAccountFunctionData
#define ACCOUNT_CHECK_ACCESS(globalContext, functionName) \
aceCheckAccess<AceFunctionGetter, DefaultArgsVerifier<> >( \
globalContext, \
getAccountFunctionData, \
functionName)
}
}
}
#endif // _CALENDAR_PLUGIN_CONFIG_H_
|