#if !defined(__oc3wmdic_h) // Sentry, use file only if it's not already included. #define __oc3wmdic_h /***************************************************************************** * * Copyright (c) 1999, KL GROUP INC. All Rights Reserved. * http://www.klgroup.com * * This file is provided for demonstration and educational uses only. * Permission to use, copy, modify and distribute this file for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of KL Group not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * KL Group. * * KL GROUP MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY * OF THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED * TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR * PURPOSE, OR NON-INFRINGEMENT. KL GROUP SHALL NOT BE LIABLE FOR ANY * DAMAGES SUFFERED BY USERS AS A RESULT OF USING, MODIFYING OR * DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. */ /* Project oc3owl OVERVIEW ======== Class definition for oc3owlMDIClient (TMDIClient). */ #include #pragma hdrstop #include "oc3wlapp.rh" // Definition of all resources. //{{TMDIClient = oc3owlMDIClient}} class oc3owlMDIClient : public TMDIClient { public: int ChildCount; // Number of child window created. oc3owlMDIClient(TModule* module = 0); virtual ~oc3owlMDIClient (); void OpenFile (const char *fileName = 0); private: void LoadTextFile (); //{{oc3owlMDIClientVIRTUAL_BEGIN}} protected: virtual void SetupWindow (); //{{oc3owlMDIClientVIRTUAL_END}} //{{oc3owlMDIClientRSP_TBL_BEGIN}} protected: void CmFilePrint (); void CmFilePrintSetup (); void CmFilePrintPreview (); void CmPrintEnable (TCommandEnabler &tce); void EvDropFiles (TDropInfo); //{{oc3owlMDIClientRSP_TBL_END}} DECLARE_RESPONSE_TABLE(oc3owlMDIClient); }; //{{oc3owlMDIClient}} #endif // __oc3wmdic_h sentry.