Projects > KM-RW Project > StoreStruct.h

Home | Projects | Links

 

KM-RW PROJECT

  

KM-RWDlg-Decl.h    KM-RWDlg-Impl_and_Play-Rec_Proc.h    KM-RWSettings.h    StoreStruct.h    cwfi.h

Download km-rw.exe (392 KB)        Download VC++ 8.0 Project (26.8 KB RAR Archive)        KM-RW Help


#ifndef STORE_STRUCT_H
#define STORE_STRUCT_H

//For message extensibility; would allow to record and play messages, other than keyboard and mouse.

enum STSTRCOMMAND{ NOTHING=0, KMMSG=1, };

class StoreStruct{
private:
STSTRCOMMAND cmd;
EVENTMSG msg;

public:

EVENTMSG & GetMsg(){ return msg; }
void SetMsg(EVENTMSG & a_msg) { msg=a_msg; }

STSTRCOMMAND GetCommand(){ return cmd; }
void SetCommand(STSTRCOMMAND a_cmd){ cmd=a_cmd; }

explicit StoreStruct(STSTRCOMMAND a_cmd=NOTHING) {}
StoreStruct(STSTRCOMMAND a_cmd, EVENTMSG * a_pmsg) { cmd=a_cmd, msg=*a_pmsg; }
~StoreStruct() {}

};


#endif


KM-RWDlg-Decl.h    KM-RWDlg-Impl_and_Play-Rec_Proc.h    KM-RWSettings.h    StoreStruct.h    cwfi.h

 Download km-rw.exe (392 KB)         Download VC++ 8.0 Project (26.8 KB RAR Archive)        KM-RW Help

 

Get WinRAR

 

 

 

 

 

 

 

Copyright © Yuri Bulankov 2004

 

Bugs/Comments: code@compilerabuse.com

Copyright (C) 2001-2006 Yuri Bulankov. All rights reserved.