2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 * @file ace_client_types.h
18 * @author Tomasz Swierczek (t.swierczek@samsung.com)
20 * @brief This file contains definitions of AceClient types
22 #ifndef WRT_ACE_CLIENT_TYPES_H
23 #define WRT_ACE_CLIENT_TYPES_H
31 typedef int AceWidgetHandle;
32 typedef void* AceJobWidgetInstallId;
34 typedef std::string AceResource;
35 typedef std::string AceSubject;
36 typedef std::string AceSessionId;
43 PREFERENCE_BLANKET_PROMPT,
44 PREFERENCE_SESSION_PROMPT,
45 PREFERENCE_ONE_SHOT_PROMPT
48 typedef std::map<std::string, AcePreference> AceResourcesPreferences;
49 typedef std::pair<std::string, AcePreference> AceResurcePreference;
57 name(NULL), value(NULL)
60 AceParam(const char *name, const char *value):
61 name(name), value(value)
78 const char** devCapNames;
92 const char** apiFeature;
101 AceSessionId sessionId;
102 AceWidgetHandle widgetHandle;
103 AceApiFeatures apiFeatures;
104 const char* functionName;
105 AceDeviceCap deviceCapabilities;
114 } // namespace AceClient
116 #endif // WRT_ACE_CLIENT_TYPES_H