ToiEventTarget.idl

00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
00002  *---------------------------------------------------------------------------
00003  *
00004  * ToiEventTarget.idl
00005  *
00006  * Copyright (c) 2009 Motorola Inc. All Rights Reserved.
00007  *
00008  *---------------------------------------------------------------------------
00009  */
00010 
00011 #ifndef TOIEVENTTARGET_IDL
00012 #define TOIEVENTTARGET_IDL
00013 
00014 #include "TToiInvalidArgumentException.idl"
00015 
00016 interface ToiEventListener;
00017 
00029 interface ToiEventTarget
00030 {
00047   void addEventListener (in long type, in ToiEventListener listener)
00048     raises (TToiInvalidArgumentException);
00049   
00050 
00064   void removeEventListener (in long type, in ToiEventListener listener)
00065     raises (TToiInvalidArgumentException);
00066 
00067 };
00068 
00069 #endif