/* =============================================================================== FILE: calcui.h PROJECT: GLOW-based RPN calculator CONTENTS: User interface PROGRAMMERS: Daniel Azuma COPYRIGHT: Copyright (C) 2000 Daniel Azuma (dazuma@kagi.com) This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to Free Software Foundation, Inc. 59 Temple Place, Suite 330 Boston, MA 02111-1307 USA VERSION: The GLOW Toolkit tutorial -- version 1.0.2 (2 August 2000) CHANGES: Original release (DA) =============================================================================== */ #ifndef CALCUI__H #define CALCUI__H /* =============================================================================== Headers =============================================================================== */ #include "glowWidget.h" GLOW_NAMESPACE_USING /* =============================================================================== Interface class This class is the interface for a Calculator UI. A UI can only be constructed or destructed. =============================================================================== */ class CalcUIReceiver; class CalcEngine; class CalcUI { public: CalcUI( CalcEngine* engine); ~CalcUI(); private: GlowFixedSizeWidgetWindow* _window; CalcUIReceiver* _receiver; }; #endif