2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
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.
18 * @file FSysISettingInfoSetValueAsyncResultListener.h
19 * @brief This is the header file for the %ISettingInfoSetValueAsyncResultListener interface.
21 * This header file contains the declarations of the %ISettingInfoSetValueAsyncResultListener interface.
24 #ifndef _FSYS_ISETTING_INFO_SET_VALUE_ASYNC_RESULT_LISTENER_H_
25 #define _FSYS_ISETTING_INFO_SET_VALUE_ASYNC_RESULT_LISTENER_H_
27 #include <FBaseResult.h>
28 #include <FBaseRtIEventListener.h>
30 namespace Tizen { namespace System
34 * @interface ISettingInfoSetValueAsyncResultListener
35 * @brief This interface defines the result listener for an asynchronous setting change method call.
39 * The %ISettingInfoSetValueAsyncResultListener interface must be registered and implemented by an application
40 * to receive result for an asynchronous setting change method call.
43 class _OSP_EXPORT_ ISettingInfoSetValueAsyncResultListener
44 : public virtual Tizen::Base::Runtime::IEventListener
48 * This is the destructor for this class. @n
49 * This polymorphic destructor should be overridden if required. @n
50 * This way, the destructors of the derived classes are called when the destructor of this interface is called.
54 virtual ~ISettingInfoSetValueAsyncResultListener(void) {}
57 * Called when a result is received for an asynchronous setting change method call.
61 * @param[in] key The key name of the changed setting information
62 * @param[in] r An error code
63 * @exception E_SUCCESS The result is successful.
64 * @exception E_SYSTEM The method cannot proceed due to severe system error.
67 virtual void OnResultReceivedForSetValueAsync(const Tizen::Base::String& key, result r) = 0;
71 // This method is for internal use only.
72 // Using this method can cause behavioral, security-related, and consistency-related issues in the application.
75 virtual void OnISettingInfoSetValueAsyncResultListener_Reserved1(void) {}
78 // This method is for internal use only.
79 // Using this method can cause behavioral, security-related, and consistency-related issues in the application.
82 virtual void OnISettingInfoSetValueAsyncResultListener_Reserved2(void) {}
85 // This method is for internal use only.
86 // Using this method can cause behavioral, security-related, and consistency-related issues in the application.
89 virtual void OnISettingInfoSetValueAsyncResultListener_Reserved3(void) {}
91 // This method is for internal use only.
92 // Using this method can cause behavioral, security-related, and consistency-related issues in the application.
95 virtual void OnISettingInfoSetValueAsyncResultListener_Reserved4(void) {}
98 // This method is for internal use only.
99 // Using this method can cause behavioral, security-related, and consistency-related issues in the application.
102 virtual void OnISettingInfoSetValueAsyncResultListener_Reserved5(void) {}
105 // This method is for internal use only.
106 // Using this method can cause behavioral, security-related, and consistency-related issues in the application.
109 virtual void OnISettingInfoSetValueAsyncResultListener_Reserved6(void) {}
111 // This method is for internal use only.
112 // Using this method can cause behavioral, security-related, and consistency-related issues in the application.
115 virtual void OnISettingInfoSetValueAsyncResultListener_Reserved7(void) {}
118 // This method is for internal use only.
119 // Using this method can cause behavioral, security-related, and consistency-related issues in the application.
122 virtual void OnISettingInfoSetValueAsyncResultListener_Reserved8(void) {}
125 // This method is for internal use only.
126 // Using this method can cause behavioral, security-related, and consistency-related issues in the application.
129 virtual void OnISettingInfoSetValueAsyncResultListener_Reserved9(void) {}
131 }; // ISettingEventListener
135 #endif // _FSYS_ISETTING_INFO_SET_VALUE_ASYNC_RESULT_LISTENER_H_