| Motorola Mobility Confidential Restricted. |
|
/extra/kbs/check_outs/co_356297/STABLE_geranium_lpm_cornsilk_10/dist/idl/js/toi/ToiStorageService.idl 00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- 00002 *-------------------------------------------------------------------- 00003 * 00004 * ToiStorageService.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 TOISTORAGESERVICE_IDL 00016 #define TOISTORAGESERVICE_IDL 00017 00018 #include "TToiInvalidArgumentException.idl" 00019 #include "TToiNotEnoughResourcesException.idl" 00020 #include "TToiUnhandledValueException.idl" 00021 #include "ToiApplicationService.idl" 00022 #include "ToiOperationManager.idl" 00023 #include "TToiInvalidPreconditionException.idl" 00024 #include "TToiOperationNotSupportedException.idl" 00025 #include "TToiNoDataException.idl" 00026 #include "ToiStorageDevice.idl" 00027 #include "TToiFileException.idl" 00028 #include "ToiStorageFile.idl" 00029 #include "ToiEventTarget.idl" 00030 00031 00043 //@ [Service(Name=StorageService)] 00044 //@ [EventTarget(EventObserver=IToiStorageObserver)] 00047 interface ToiStorageService : ToiEventTarget { 00048 00051 00055 const long ON_DEVICE_CONNECTED = 2600; 00056 00060 const long ON_DEVICE_DISCONNECTED = 2601; 00061 00065 const long ON_DEVICE_SPINNING_CHANGED = 2602; 00066 00070 const long ON_DEVICE_PARTITIONS_CHANGED = 2603; 00071 00075 const long ON_DEVICE_PARTITION_MOUNT_CHANGED = 2604; 00076 00080 const long ON_DEVICE_PARTITION_FULL = 2605; 00081 00085 const long ON_DEVICE_PARTITION_FEATURES_CHANGED = 2606; 00086 00090 const long ON_DEVICE_TEMPERATURE_THRESHOLD_REACHED = 2607; 00091 00093 00095 typedef sequence < ToiStorageDevice::TToiStorageDeviceId > TToiStorageDeviceIdSequence; 00096 00104 //@ [ReturnAddress(Type=IToiOperationManager)] 00105 00106 00107 //@ [OutParam(Name=address,Position=1,IsBinary=0, Bound=0)] 00108 ToiOperationManager getStorageOperationManager(); 00109 00116 //@ [OutParam(Name=identifiers,Position=1,IsBinary=0, Bound=0)] 00117 TToiStorageDeviceIdSequence getStorageDeviceIds(); 00118 00128 //@ [ReturnAddress(Type=IToiStorageDevice)] 00129 00130 00131 //@ [OutParam(Name=address,Position=2,IsBinary=0, Bound=0)] 00132 ToiStorageDevice getStorageDevice(in ToiStorageDevice::TToiStorageDeviceId id) 00133 raises (TToiInvalidArgumentException); 00134 00163 //@ [ReturnAddress(Type=IToiStorageFile)] 00164 //@ [IgnoredApplicationId(Position=1)] 00165 00166 00167 //@ [OutParam(Name=address,Position=4,IsBinary=0, Bound=0)] 00168 ToiStorageFile createFile(in string fileName, 00169 in ToiStorageFile::TToiStorageFileType fileType) 00170 raises (TToiInvalidArgumentException, TToiFileException); 00171 00172 }; 00173 00174 #endif |