home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / PowerPlant / Multi-Panel Dialogs 1.1 / MPDTest App / Panels / CPrefsPanelStub.h < prev   
Encoding:
C/C++ Source or Header  |  1996-02-06  |  859 b   |  41 lines  |  [TEXT/R*ch]

  1. /*
  2.     File:            CPrefsPanelStub.h
  3.  
  4.     Contains:    Class stub to use as a template for creating your own multi-pane
  5.                     dialog panels.
  6.  
  7.     Written by:    Mike Shields
  8.  
  9.     Copyright:    Copyright © 1996 Mike Shields.  All Rights Reserved.
  10.  
  11.     Change History (most recent first):
  12.  
  13.                 02/01/96    MSS        New
  14.     To Do:
  15. */
  16.  
  17. #pragma once
  18.  
  19. #include "CMPDPanel.h"
  20.  
  21. class LStream;
  22.  
  23. class CPrefsPanelStub : public CMPDPanel
  24. {
  25. public:
  26.     enum { class_ID = 'Stub' };
  27.     
  28.     static CPrefsPanelStub*
  29.                         CreateFromStream(LStream* inStream);
  30.                         
  31.                         CPrefsPanelStub();
  32.                         CPrefsPanelStub(const CPrefsPanelStub &inOriginal); 
  33.                         CPrefsPanelStub(const SPaneInfo &inPaneInfo,
  34.                                                 const SViewInfo &inViewInfo);
  35.                         CPrefsPanelStub(LStream *inStream);
  36.     virtual            ~CPrefsPanelStubCPrefsPanelStub();
  37.     
  38.     virtual void    GetData(Handle inDataToReplace);
  39.     virtual void    SetData(Handle inData);
  40. };
  41.