75 lines
1.8 KiB
C++
75 lines
1.8 KiB
C++
/*=========================================================================*/
|
|
/* DEVSgl3D.hpp : SingleDevice 3D which manage only one Device 3D.*/
|
|
/* This is a part of the PCA project.*/
|
|
/**/
|
|
/* Version 1.0*/
|
|
/* Creation date 19/07/96*/
|
|
/* Revision date*/
|
|
/**/
|
|
/* (c) Ubi Studios 1996*/
|
|
/**/
|
|
/* DO NOT MODIFY THAT FILE. IF SOMETHING NEEDS TO BE CHANGE, PLEASE CONTACT */
|
|
/* OLIVIER DIDELOT OR MARC VILLEMAIN.*/
|
|
/*=========================================================================*/
|
|
|
|
#ifndef __DEVSGL3D_HPP__
|
|
#define __DEVSGL3D_HPP__
|
|
#include "DEVMul3D.hpp"
|
|
class CPA_ProjectDoc;
|
|
|
|
/****************************************/
|
|
#ifndef CPA_EXPORT
|
|
#if defined(CPA_WANTS_IMPORT)
|
|
#define CPA_EXPORT __declspec(dllimport)
|
|
#elif defined(CPA_WANTS_EXPORT)
|
|
#define CPA_EXPORT __declspec(dllexport)
|
|
#else
|
|
#define CPA_EXPORT
|
|
#endif
|
|
#endif
|
|
/****************************************/
|
|
|
|
class CPA_EXPORT DEV_SingleDevice3D : public DEV_MultiDevice3D
|
|
{
|
|
protected: /* create from serialization only*/
|
|
DEV_SingleDevice3D();
|
|
DECLARE_DYNCREATE(DEV_SingleDevice3D)
|
|
|
|
public:
|
|
DEV_SingleDevice3D(int);
|
|
/* Attributes*/
|
|
public:
|
|
CPA_ProjectDoc* GetDocument();
|
|
|
|
/* variables membres*/
|
|
public:
|
|
|
|
/* Operations*/
|
|
public:
|
|
|
|
/* Overrides*/
|
|
/* ClassWizard generated virtual function overrides*/
|
|
/*{{AFX_VIRTUAL(DEV_SingleDevice3D)*/
|
|
/*}}AFX_VIRTUAL*/
|
|
|
|
/* Implementation*/
|
|
public:
|
|
virtual ~DEV_SingleDevice3D();
|
|
|
|
protected:
|
|
|
|
/* Generated message map functions*/
|
|
protected:
|
|
/*{{AFX_MSG(DEV_SingleDevice3D)*/
|
|
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
|
|
/*}}AFX_MSG*/
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
inline CPA_ProjectDoc* DEV_SingleDevice3D::GetDocument()
|
|
{ return (CPA_ProjectDoc*)m_pDocument; }
|
|
|
|
/*///////////////////////////////////////////////////////////////////////////*/
|
|
|
|
#endif /* __DEVSGL3D_HPP__*/
|