76 lines
1.8 KiB
C++
76 lines
1.8 KiB
C++
/*=========================================================================*/
|
|
/* DEVSingl.hpp : SingleDevice which manage only one Device.*/
|
|
/* This is a part of the PCA project.*/
|
|
/**/
|
|
/* Version 1.0*/
|
|
/* Creation date 27/06/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 __DEVSINGL_HPP__
|
|
#define __DEVSINGL_HPP__
|
|
|
|
/****************************************/
|
|
#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_SingleDevice : public DEV_MultiDevice
|
|
{
|
|
protected: /* create from serialization only*/
|
|
DEV_SingleDevice();
|
|
DECLARE_DYNCREATE(DEV_SingleDevice)
|
|
|
|
public:
|
|
DEV_SingleDevice(int);
|
|
/* Attributes*/
|
|
public:
|
|
CPA_ProjectDoc* GetDocument();
|
|
|
|
/* variables membres*/
|
|
public:
|
|
|
|
/* Operations*/
|
|
public:
|
|
|
|
/* Overrides*/
|
|
/* ClassWizard generated virtual function overrides*/
|
|
/*{{AFX_VIRTUAL(DEV_SingleDevice)*/
|
|
/*}}AFX_VIRTUAL*/
|
|
|
|
/* Implementation*/
|
|
public:
|
|
virtual ~DEV_SingleDevice();
|
|
|
|
void DrawObject(void) {};
|
|
void DrawObjectExcept0(void) {};
|
|
|
|
protected:
|
|
|
|
/* Generated message map functions*/
|
|
protected:
|
|
/*{{AFX_MSG(DEV_SingleDevice)*/
|
|
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
|
|
/*}}AFX_MSG*/
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
inline CPA_ProjectDoc* DEV_SingleDevice::GetDocument()
|
|
{ return (CPA_ProjectDoc*)m_pDocument; }
|
|
|
|
/*///////////////////////////////////////////////////////////////////////////*/
|
|
|
|
#endif /* __DEVSINGL_HPP__*/
|