IToiSoftwareService.idl

00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
00002  *--------------------------------------------------------------------
00003  *
00004  * IToiSoftwareService.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 ITOISOFTWARESERVICE_IDL
00016 #define ITOISOFTWARESERVICE_IDL
00017 
00018 #include "TToiInvalidArgumentException.idl"
00019 
00020 #include "IToiApplicationService.idl"
00035 //@ [EventTarget(EventObserver=IToiSoftwareObserver)]
00036 //@ [Service(Name=SoftwareService)]
00037 //@ [Language=C++]
00038 
00039 interface IToiSoftwareService {
00040 
00045   enum TToiDependencyType
00046   {
00047     
00054     //Value of ROOTDISK = 0
00055     ROOTDISK,
00056     
00062     //Value of EXECUTION = 1
00063     EXECUTION
00064   };
00082   void AddIips(in string iipDistributionUrl)
00083    raises (TToiInvalidArgumentException);
00084   
00104   void SetIipFilter(in string address, 
00105         in string iip)
00106    raises (TToiInvalidArgumentException);
00107   
00126   void AreDependenciesFulfilled(in string iipName, 
00127         in TToiDependencyType dependencyType, 
00128         out boolean fulfilled)
00129    raises (TToiInvalidArgumentException);
00130   
00155   void AddRef(in string iipName, 
00156         in TToiDependencyType dependencyType)
00157    raises (TToiInvalidArgumentException);
00158   
00183   void Release(in string iipName, 
00184         in TToiDependencyType dependencyType)
00185    raises (TToiInvalidArgumentException);
00186   
00204   void GetContentVersion(in string iipName, 
00205         out string installedVersion, 
00206         out string availableVersion)
00207    raises (TToiInvalidArgumentException);
00208   
00209   
00210   
00223   void RegisterObserver(in IToiApplicationService::TToiApplicationId applicationId,
00224                         in string address)
00225     raises (TToiInvalidArgumentException);
00226   
00235   void ReleaseObserver(in string address)
00236     raises (TToiInvalidArgumentException); 
00237   
00238 };
00239 
00240 #endif