Скачиваний:
33
Добавлен:
01.05.2014
Размер:
617 б
Скачать
//” ©«: Message.h
//Љ« бб "‘®®ЎйҐ­ЁҐ". Џа®в®вЁЇ.
//Ђўв®а: ‘ҐаЈҐҐў Њ.‚. Ја.3352
//„ в : 21.05.06, ђҐ¤ ЄжЁп: 1.0


#ifndef MessageH
#define MessageH


class CMsg
{
private:
  int const from;    //id Є«ЁҐ­в 
  int const to;      //id бҐаўҐа 
  int const command; //Є®¬ ­¤ 
  static int nextID; 
  const int id;
  static int count;

public:
  int getFrom();		//‚®§ўа й Ґв Ї®«Ґ from
  int getTo();			//‚®§ўа й Ґв Ї®«Ґ to
  int getCommand();		//‚®§ўа й Ґв ⥫®
  void show()const;		//‚®§ўа й Ґв Ё­д®а¬ жЁо ® б®®ЎйҐ­ЁЁ
  CMsg(int f,int t,int c);		//Љ®­бвагЄв®а
};

int CMsg::nextID = 1;
#endif
Соседние файлы в папке Kurs