IToiAudioOverlayService.idl

00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
00002  *--------------------------------------------------------------------
00003  *
00004  * IToiAudioOverlayService.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 ITOIAUDIOOVERLAYSERVICE_IDL
00016 #define ITOIAUDIOOVERLAYSERVICE_IDL
00017 
00018 #include "TToiInvalidArgumentException.idl"
00019 #include "TToiUnhandledValueException.idl"
00020 #include "IToiApplicationService.idl"
00021 
00022 #include "IToiApplicationService.idl"
00030 //@ [Language=C++]
00031 //@ [Service(Name=AudioOverlayService)]
00032 //@ [EventTarget(EventObserver=IToiAudioOverlayObserver)]
00033 
00034 interface IToiAudioOverlayService {
00035 
00044   void Play(in string file, 
00045         in boolean loop);
00046   
00050   void Stop();
00051   
00052   
00053   
00066   void RegisterObserver(in IToiApplicationService::TToiApplicationId applicationId,
00067                         in string address)
00068     raises (TToiInvalidArgumentException);
00069   
00078   void ReleaseObserver(in string address)
00079     raises (TToiInvalidArgumentException); 
00080   
00081 };
00082 
00083 #endif