IOperationManager.idl

00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
00002  *---------------------------------------------------------------------------
00003  *
00004  * interface/internal/IOperationManager.idl
00005  *
00006  * Copyright (c) 2009 Motorola Inc. All Rights Reserved.
00007  *
00008  *---------------------------------------------------------------------------
00009  */
00010 
00011 #ifndef IOPERATIONMANAGER_IDL
00012 #define IOPERATIONMANAGER_IDL
00013 
00014 #include "IToiOperationManager.idl"
00015 #include "TToiNotEnoughResourcesException.idl"
00016 #include "TToiInvalidArgumentException.idl"
00017 
00023 interface IOperationManager : IToiOperationManager
00024 {
00025 
00026   typedef TToiOperationId TOperationId;
00027   typedef TToiOperationResult TOperationResult;
00028   typedef TToiOperationError TOperationError;
00029   typedef TToiOperationState TOperationState;
00030   typedef TToiOperationInfo TOperationInfo;
00048   void RegisterObserverInternal(in string address)
00049     raises (TToiInvalidArgumentException,
00050             TToiNotEnoughResourcesException);
00051 
00065   void CreateOperationInternal(in string userData,
00066                               out TToiOperationId operationId)
00067     raises (TToiNotEnoughResourcesException);
00068 
00069 };
00070 
00071 #endif // IOPERATIONMANAGER_IDL