• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

ev_UnixToolbar_ViewListener.h

Go to the documentation of this file.
00001 /* AbiSource Program Utilities
00002  * Copyright (C) 1998 AbiSource, Inc.
00003  *
00004  * This program is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU General Public License
00006  * as published by the Free Software Foundation; either version 2
00007  * of the License, or (at your option) any later version.
00008  *
00009  * This program is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  * GNU General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU General Public License
00015  * along with this program; if not, write to the Free Software
00016  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00017  * 02110-1301 USA.
00018  */
00019 
00020 #ifndef EV_UNIXTOOLBAR_VIEWLISTENER_H
00021 #define EV_UNIXTOOLBAR_VIEWLISTENER_H
00022 
00023 #include "xav_Listener.h"
00024 #include "xav_View.h"
00025 class EV_UnixToolbar;
00026 class AV_View;
00027 
00028 
00029 class EV_UnixToolbar_ViewListener : public AV_Listener
00030 {
00031 public:
00032     EV_UnixToolbar_ViewListener(EV_UnixToolbar * pUnixToolbar,
00033                                 AV_View * pView);
00034     virtual ~EV_UnixToolbar_ViewListener(void);
00035 
00036     virtual bool        notify(AV_View * pView, const AV_ChangeMask mask);
00037     virtual AV_ListenerType getType(void) { return AV_LISTENER_TOOLBAR;}
00038     void                setLID( AV_ListenerId lid) {m_lid = lid;}
00039 protected:
00040     EV_UnixToolbar *    m_pUnixToolbar;
00041     AV_View *           m_pView;
00042     AV_ListenerId       m_lid;
00043 };
00044 
00045 #endif /* EV_UNIXTOOLBAR_VIEWLISTENER_H */

Generated on Sun Feb 14 2021 for AbiWord by  doxygen 1.7.1