00001 /* 00002 ***************************************************************** 00003 ***************************************************************** 00004 ******* ******** 00005 ******* (C) Copyright 1989-2007 by Tecplot Inc. ******** 00006 ******* All Rights Reserved. ******** 00007 ******* ******** 00008 ***************************************************************** 00009 ***************************************************************** 00010 */ 00011 #ifndef TECPLOT_TOOLBOX_STATECHANGENOTIFIERINTERFACE_H 00012 #define TECPLOT_TOOLBOX_STATECHANGENOTIFIERINTERFACE_H 00013 00014 #if defined MSWIN 00015 #pragma once 00016 #endif 00017 00018 #include "tptoolbox.h" 00019 #include "OutOfMemoryException.h" 00020 00021 namespace tecplot { namespace toolbox { 00022 00023 class StateChangeListenerInterface; 00024 00025 class TPTOOLBOX_DLLAPI StateChangeNotifierInterface 00026 { 00027 public: 00028 virtual ~StateChangeNotifierInterface(){} 00029 virtual void addListener(StateChangeListenerInterface * const listener) throw (OutOfMemoryException) = 0; 00030 virtual void removeListener(StateChangeListenerInterface * const listener) = 0; 00031 }; 00032 00033 }} 00034 00035 #endif
1.5.5