home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
uicldd.zip
/
DMSAMP3.HPP
< prev
next >
Wrap
Text File
|
1993-09-04
|
2KB
|
92 lines
extern "C"
{
#include <os2.h>
}
#include <iframe.hpp>
#include <iapp.hpp>
#include <irect.hpp>
#include <ievent.hpp>
#include <ihandler.hpp>
#include <istattxt.hpp>
#include <icolor.hpp>
#include <ititle.hpp>
#include <icnr.hpp>
#include <iiconctl.hpp>
#include <icnrhdr.hpp>
#include <idmcnrhd.hpp>
#include <idmcnrpv.hpp>
#include <idmcnrit.hpp>
#include "dmsamp3.h"
class MyWindow;
class Customer : public IContainerObject
{
public:
friend class IContainerColumn;
friend class MyWindow;
Customer ( const Customer& cnrobj );
Customer ( const IString &Text, unsigned long Icon, const IString &Name,
const IString &Address, const IString &Phone, MyWindow *win );
~Customer ( ) {};
IString name ( ) const { return this->strName; }
IString address ( ) const { return this->strAddress; }
IString phone ( ) const { return this->strPhone; }
void setName ( const IString &name ) { this->strName = name; }
void setAddress ( const IString &address ) { this->strAddress = address; }
void setPhone ( const IString &phone ) { this->strPhone = phone; }
IContainerObject* objectCopy( );
private:
IString strName,
strAddress,
strPhone;
MyWindow *myWin;
};
class MyWindow : public IFrameWindow
{
friend class Customer;
public:
MyWindow ( unsigned long windowId );
~MyWindow ( ) {};
protected:
ICnrHandler *cnrh;
IContainerControl *cnrCtl;
Customer *car,
*space,
*bolt,
*starfleet;
IResourceLibrary reslib;
};
class MySourceWin : public MyWindow
{
public:
MySourceWin ( unsigned long windowId );
IDMCnrSourceHandler *srcHandler;
};
class MyTargetWin : public MyWindow
{
public:
MyTargetWin ( unsigned long windowId );
IDMCnrTargetHandler *tgtHandler;
};