| Motorola Mobility Confidential Restricted. |
|
/extra/kbs/check_outs/co_206438/STABLE_geranium_lpm_cornsilk_1/dist/idl/js/toi/ToiOperationManager.idl 00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- 00002 *-------------------------------------------------------------------- 00003 * 00004 * ToiOperationManager.idl 00005 * 00006 * This file was created by the Motorola IDL backend, 00007 * which is based on the OmniORB IDL parser. 00008 * Please do not modify. 00009 * 00010 * Copyright (c) 2009 Motorola Inc. All Rights Reserved. 00011 * 00012 *-------------------------------------------------------------------- 00013 */ 00014 00015 #ifndef TOIOPERATIONMANAGER_IDL 00016 #define TOIOPERATIONMANAGER_IDL 00017 00018 #include "TToiInvalidArgumentException.idl" 00019 #include "TToiNotEnoughResourcesException.idl" 00020 #include "TToiUnhandledValueException.idl" 00021 #include "ToiApplicationService.idl" 00022 #include "ToiEventTarget.idl" 00023 00024 //@ [Struct(Interface=IToiOperationManager,Name=TToiProperty)] 00025 interface ToiOperationManagerProperty; 00026 //@ [Struct(Interface=IToiOperationManager,Name=TToiOperationInfo)] 00027 interface ToiOperationManagerOperationInfo; 00028 00041 //@ [EventTarget(EventObserver=IToiOperationObserver)] 00042 00043 interface ToiOperationManager : ToiEventTarget { 00044 00047 00051 const long ON_OPERATION_RESULT = 2000; 00052 00054 00056 typedef long TToiOperationId; 00057 00059 typedef long TToiOperationResult; 00060 00062 typedef long TToiOperationError; 00063 00069 00074 const TToiOperationError OP_ERROR_FAILED = -1; 00075 00080 const TToiOperationError OP_ERROR_CANCELLED = -2; 00081 00083 00088 typedef long TToiPropertyId; 00089 00094 typedef string TToiPropertyValue; 00095 00097 typedef sequence < ToiOperationManagerProperty > TToiPropertySequence; 00098 00101 //@ [Enum] 00102 typedef long TToiOperationState; 00105 00111 //@ [Enumerator(Enum=TToiOperationState,Name=OPERATION_PENDING)] 00112 const TToiOperationState OPERATION_PENDING = 0; 00113 00119 //@ [Enumerator(Enum=TToiOperationState,Name=OPERATION_COMPLETED)] 00120 const TToiOperationState OPERATION_COMPLETED = 1; 00121 00127 //@ [Enumerator(Enum=TToiOperationState,Name=OPERATION_FAILED)] 00128 const TToiOperationState OPERATION_FAILED = 2; 00129 00131 00133 00139 const TToiOperationResult OP_RESULT_NONE = 0; 00140 00142 00163 //@ [IgnoredApplicationId(Position=1)] 00164 00165 00166 //@ [OutParam(Name=operationId,Position=3,IsBinary=0, Bound=0)] 00167 TToiOperationId createOperation(in string userData) 00168 raises (TToiInvalidArgumentException, TToiNotEnoughResourcesException); 00169 00181 void cancelOperation(in TToiOperationId operationId) 00182 raises (TToiInvalidArgumentException); 00183 00197 void releaseOperation(in TToiOperationId operationId) 00198 raises (TToiInvalidArgumentException); 00199 00221 //@ [OutParam(Name=operationInfo,Position=2,IsBinary=0, Bound=0)] 00222 ToiOperationManagerOperationInfo getOperationInfo(in TToiOperationId operationId) 00223 raises (TToiInvalidArgumentException); 00224 00225 }; 00226 00227 #endif |