IToiStorageObserver.idl

00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
00002  *--------------------------------------------------------------------
00003  *
00004  * IToiStorageObserver.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 ITOISTORAGEOBSERVER_IDL
00016 #define ITOISTORAGEOBSERVER_IDL
00017 
00018 #include "TToiInvalidArgumentException.idl"
00019 #include "TToiNotEnoughResourcesException.idl"
00020 #include "TToiUnhandledValueException.idl"
00021 #include "IToiApplicationService.idl"
00022 #include "IToiOperationManager.idl"
00023 #include "TToiInvalidPreconditionException.idl"
00024 #include "TToiOperationNotSupportedException.idl"
00025 #include "IToiStorageDevice.idl"
00026 
00034 //@ [EventObserver(EventIdStartNumber=2600)]
00042 interface IToiStorageObserver {
00043 
00051   oneway void OnDeviceConnected(in IToiStorageDevice::TToiStorageInfo info);
00052   
00061   oneway void OnDeviceDisconnected(in IToiStorageDevice::TToiStorageInfo info);
00062   
00074   oneway void OnDeviceSpinningChanged(in IToiStorageDevice::TToiStorageInfo info);
00075   
00083   oneway void OnDevicePartitionsChanged(in IToiStorageDevice::TToiStorageInfo info);
00084   
00095   oneway void OnDevicePartitionMountChanged(in IToiStorageDevice::TToiStorageInfo info, 
00096         in IToiStorageDevice::TToiPartitionInfo partitionInfo);
00097   
00114   oneway void OnDevicePartitionFull(in IToiStorageDevice::TToiStorageInfo info, 
00115         in IToiStorageDevice::TToiPartitionInfo partitionInfo, 
00116         in long long spaceRequired);
00117   
00126   oneway void OnDeviceTemperatureThresholdReached(in IToiStorageDevice::TToiStorageInfo info, 
00127         in string thresholdName);
00128   
00129 };
00130 
00131 #endif