home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-08-16 | 1.7 KB | 66 lines | [TEXT/MPS ] |
- //========================================================================================
- //
- // File: Proxy.h
- // Release Version: $ ODF 1 $
- //
- // Author: M.Boetcher
- //
- // Copyright: (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
- //
- //========================================================================================
-
- #ifndef PROXY_H
- #define PROXY_H
-
- // ----- ODF Includes -----
-
- #ifndef FWPROXY_H
- #include "FWProxy.h"
- #endif
-
- #ifndef FWRECT_H
- #include "FWRect.h"
- #endif
-
- //==============================================================================
- // Forward declarations
- //==============================================================================
-
- class FW_CEmbeddingFrame;
-
- class CEmbedPart;
-
- //==============================================================================
- // class CEmbedProxy
- //==============================================================================
-
- class CEmbedProxy : public FW_MProxy
- {
- //----------------------------------------------------------------------------------------
- // Initialization/Destruction
- //
- public:
- CEmbedProxy(Environment* ev, CEmbedPart* part, FW_CPresentation* presentation);
- virtual ~ CEmbedProxy();
-
- //----------------------------------------------------------------------------------------
- // Inherited API
- //
- virtual void UsedShapeChanged(Environment* ev,
- FW_CEmbeddingFrame* embeddingFrame,
- ODFrame* odEmbeddedFrame);
-
- virtual ODShape* FrameShapeRequested(Environment* ev,
- FW_CEmbeddingFrame* embeddingFrame,
- ODFrame* odEmbeddedFrame,
- ODShape* requestedFrameShape);
-
- //----------------------------------------------------------------------------------------
- // Data Members
- //
- private:
- CEmbedPart* fPart;
- };
-
- #endif
-