diff -r abc41079b313 -r 59b3b4473dc8 javauis/m2g_qt/javasrc/com/nokia/microedition/m2g/M2GDestroyable.java --- a/javauis/m2g_qt/javasrc/com/nokia/microedition/m2g/M2GDestroyable.java Fri Jul 23 12:27:20 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,57 +0,0 @@ -/* -* Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: -* -*/ - -package com.nokia.microedition.m2g; - -//import com.nokia.mj.impl.rt.legacy.ToolkitInvoker; -//import com.nokia.mj.impl.rt.legacy.ToolkitObserver; - -/** - * Interface - */ -public interface M2GDestroyable -{ - /** - * Finalization - */ - void doDestroy(); -} - -//-------------------------------------------------- -// OTHER CLASSES -//-------------------------------------------------- -/** - * M2GDestroyer implements the ToolkitObserver interface. - */ -class M2GDestroyer -{ - private M2GDestroyable iDestroyable; - - /** - * Ctor - * @param aDestroyable Destroy target - */ - M2GDestroyer(M2GDestroyable aDestroyable) - { - if (aDestroyable != null) - { - iDestroyable = aDestroyable; - } - } -} - -