| Motorola Mobility Confidential Restricted. |
|
/extra/kbs/check_outs/co_206438/STABLE_geranium_lpm_cornsilk_1/dist/idl/js/toi/ToiStorageFile.idl 00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- 00002 *-------------------------------------------------------------------- 00003 * 00004 * ToiStorageFile.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 TOISTORAGEFILE_IDL 00016 #define TOISTORAGEFILE_IDL 00017 00018 #include "TToiFileException.idl" 00019 #include "TToiInvalidArgumentException.idl" 00020 #include "TToiNotEnoughResourcesException.idl" 00021 #include "TToiUnhandledValueException.idl" 00022 #include "ToiApplicationService.idl" 00023 #include "ToiOperationManager.idl" 00024 00035 //@ [ReleaseInstance(Method=ReleaseInstance)] 00036 interface ToiStorageFile { 00037 00040 //@ [Enum] 00041 typedef long TToiStorageFileType; 00044 00050 //@ [Enumerator(Enum=TToiStorageFileType,Name=FILE_TYPE_TEMPORARY)] 00051 const TToiStorageFileType FILE_TYPE_TEMPORARY = 0; 00052 00054 00060 //@ [OutParam(Name=uri,Position=1,IsBinary=0, Bound=0)] 00061 string getUri(); 00062 00069 //@ [OutParam(Name=fileType,Position=1,IsBinary=0, Bound=0)] 00070 TToiStorageFileType getType(); 00071 00082 //@ [Language=JavaScript] 00083 00084 00085 void download(in ToiOperationManager::TToiOperationId operationId, 00086 in string url) 00087 raises (TToiInvalidArgumentException); 00088 00092 //@ [ReleaseInstance] 00093 00094 00095 void releaseInstance(); 00096 00097 }; 00098 00099 #endif |