00001 /********************************************************************** 00002 *< 00003 FILE: utilapi.h 00004 00005 DESCRIPTION: Utility plug-ins interface 00006 00007 CREATED BY: Rolf Berteig 00008 00009 HISTORY: 12-23-95 file created 00010 00011 *> Copyright (c) 1994, All Rights Reserved. 00012 **********************************************************************/ 00013 00014 #pragma once 00015 #include "maxheap.h" 00016 #include "strclass.h" 00017 // forward declarations 00018 class Interface; 00019 00024 class IUtil: public MaxHeapOperators { 00025 public: 00027 virtual ~IUtil() { } 00028 // Closes the current utility in the command panel 00037 virtual void CloseUtility()=0; 00038 }; 00039 00040 // A utility plug-in object 00061 class UtilityObj: public MaxHeapOperators { 00062 public: 00064 virtual ~UtilityObj() { } 00070 virtual void BeginEditParams(Interface *ip,IUtil *iu)=0; 00071 00077 virtual void EndEditParams(Interface *ip,IUtil *iu)=0; 00082 virtual void SelectionSetChanged(Interface *ip,IUtil *iu) { UNUSED_PARAM(ip); UNUSED_PARAM(iu);} 00083 00099 virtual void DeleteThis()=0; 00106 virtual void SetStartupParam(MSTR param) {} 00107 }; 00108 00109 00110