#if !defined(__oc2wmdic_h) // Sentry, use file only if it's not already included. #define __oc2wmdic_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 oc2owl OVERVIEW ======== Class definition for oc2owlMDIClient (TMDIClient). */ #include #pragma hdrstop #include "oc2wlapp.rh" // Definition of all resources. //{{TMDIClient = oc2owlMDIClient}} class oc2owlMDIClient : public TMDIClient { public: int ChildCount; // Number of child window created. oc2owlMDIClient(TModule* module = 0); virtual ~oc2owlMDIClient (); void OpenFile (const char *fileName = 0); private: void LoadTextFile (); //{{oc2owlMDIClientVIRTUAL_BEGIN}} protected: virtual void SetupWindow (); //{{oc2owlMDIClientVIRTUAL_END}} //{{oc2owlMDIClientRSP_TBL_BEGIN}} protected: void CmFilePrint (); void CmFilePrintSetup (); void CmFilePrintPreview (); void CmPrintEnable (TCommandEnabler &tce); void EvDropFiles (TDropInfo); //{{oc2owlMDIClientRSP_TBL_END}} DECLARE_RESPONSE_TABLE(oc2owlMDIClient); }; //{{oc2owlMDIClient}} #endif // __oc2wmdic_h sentry.