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 to receive result for an asynchronous setting change method call.
42 class _OSP_EXPORT_ ISettingInfoSetValueAsyncResultListener
43 : public virtual Tizen::Base::Runtime::IEventListener
47 * This is the destructor for this class. This polymorphic destructor should be overridden if required. This way, the destructors of the derived classes are called when the destructor of this interface is called.
51 virtual ~ISettingInfoSetValueAsyncResultListener(void) {}
54 * Called when a result is received for an asynchronous setting change method call.
58 * @param[in] key The key name of the changed setting information
59 * @param[in] r An error code
60 * @exception E_SUCCESS The result is successful.
61 * @exception E_SYSTEM The method cannot proceed due to severe system error.
64 virtual void OnResultReceivedForSetValueAsync(const Tizen::Base::String& key, result r) = 0;
68 // This method is for internal use only.
69 // Using this method can cause behavioral, security-related, and consistency-related issues in the application.
72 virtual void OnISettingInfoSetValueAsyncResultListener_Reserved1(void) {}
75 // This method is for internal use only.
76 // Using this method can cause behavioral, security-related, and consistency-related issues in the application.
79 virtual void OnISettingInfoSetValueAsyncResultListener_Reserved2(void) {}
82 // This method is for internal use only.
83 // Using this method can cause behavioral, security-related, and consistency-related issues in the application.
86 virtual void OnISettingInfoSetValueAsyncResultListener_Reserved3(void) {}
88 // This method is for internal use only.
89 // Using this method can cause behavioral, security-related, and consistency-related issues in the application.
92 virtual void OnISettingInfoSetValueAsyncResultListener_Reserved4(void) {}
95 // This method is for internal use only.
96 // Using this method can cause behavioral, security-related, and consistency-related issues in the application.
99 virtual void OnISettingInfoSetValueAsyncResultListener_Reserved5(void) {}
102 // This method is for internal use only.
103 // Using this method can cause behavioral, security-related, and consistency-related issues in the application.
106 virtual void OnISettingInfoSetValueAsyncResultListener_Reserved6(void) {}
108 // This method is for internal use only.
109 // Using this method can cause behavioral, security-related, and consistency-related issues in the application.
112 virtual void OnISettingInfoSetValueAsyncResultListener_Reserved7(void) {}
115 // This method is for internal use only.
116 // Using this method can cause behavioral, security-related, and consistency-related issues in the application.
119 virtual void OnISettingInfoSetValueAsyncResultListener_Reserved8(void) {}
122 // This method is for internal use only.
123 // Using this method can cause behavioral, security-related, and consistency-related issues in the application.
126 virtual void OnISettingInfoSetValueAsyncResultListener_Reserved9(void) {}
128 }; // ISettingEventListener
132 #endif // _FSYS_ISETTING_INFO_SET_VALUE_ASYNC_RESULT_LISTENER_H_