blob: 4d7597c89ba54bf43af3ce12cb19ec65cd51f01f (
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
|
//
// Open Service Platform
// Copyright (c) 2013 Samsung Electronics Co., Ltd.
//
// 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.
//
/**
* @file FSclAccountProvider.h
* @brief This is the header file for the %AccountProvider class.
*
* This header file contains the declarations of the %AccountProvider class.
*/
#ifndef _FSCL_ACCOUNT_PROVIDER_H_
#define _FSCL_ACCOUNT_PROVIDER_H_
#include <FAppTypes.h>
#include <FBaseResult.h>
#include <FBaseObject.h>
#include <FSclTypes.h>
namespace Tizen { namespace Base
{
class String;
namespace Collection
{
class IList;
}
}}
namespace Tizen { namespace Social
{
/**
* @class AccountProvider
* @brief This class represents the account provider information.
* @since 2.1
*
* @final This class is not intended for extension.
*/
class _OSP_EXPORT_ AccountProvider
: public Tizen::Base::Object
{
public:
/**
* This is the default constructor for this class. @n
* It creates a fully initialized instance of the %AccountProvider class.
*
* @since 2.1
*/
AccountProvider(void);
/**
* Copying of objects using this copy constructor is allowed.
*
* @since 2.1
*
* @param[in] rhs An instance of %AccountProvider
*/
AccountProvider(const AccountProvider& rhs);
/**
* This destructor overrides Tizen::Base::Object::~Object().
*
* @since 2.1
*/
virtual ~AccountProvider(void);
/**
* Checks whether the value of the specified instance is equal to the value of the current instance.
*
* @since 2.1
*
* @return @c true if the value of the specified instance of Object is equal to the value of the current instance, @n
* else @c false
* @param[in] rhs An instance to compare
*/
virtual bool Equals(const Tizen::Base::Object& rhs) const;
/**
* Gets the hash value of the current instance.
*
* @since 2.1
*
* @return An integer value indicating the hash value of the current instance
*/
virtual int GetHashCode(void) const;
/**
* Gets the app ID of the application which has registered this account provider. @n
*
* @since 2.1
*
* @return The app ID
*/
Tizen::App::AppId GetAppId(void) const;
/**
* Gets the capabilities which the account provider owns.
*
* @since 2.1
*
* @return A list of capabilities which are predefined or the vendor-specific String defined as the IRI format, @n
* else an empty list if there is no capability, or @c null if an exception occurs (@ref String list)
* @remarks The specific error code can be accessed using the GetLastResult() method.
*/
Tizen::Base::Collection::IList* GetCapabilitiesN(void) const;
/**
* Gets the display name of the account provider. @n
*
* @since 2.1
*
* @return The display name
*/
Tizen::Base::String GetDisplayName(void) const;
/**
* Gets the icon path. @n
*
* @since 2.1
*
* @return The icon path
*/
Tizen::Base::String GetIconPath(void) const;
/**
* Gets the small icon path. @n
*
* @since 2.1
*
* @return The small icon path
*/
Tizen::Base::String GetSmallIconPath(void) const;
/**
* Checks whether the account provider supports the multiple accounts. @n
*
* @since 2.1
*
* @return @c true if the account provider supports the multiple accounts, @n
* else @c false
*/
bool IsMultipleAccountSupported(void) const;
/**
* Copying of objects using this copy assignment operator is allowed.
*
* @since 2.1
*
* @param[in] rhs An instance of %AccountProvider
*/
AccountProvider& operator =(const AccountProvider& rhs);
private:
friend class _AccountProviderImpl;
class _AccountProviderImpl* __pAccountProviderImpl;
}; // AccountProvider
}} // Tizen::Social
#endif //_FSCL_ACCOUNT_PROVIDER_H_
|