?? pcb.h
字號(hào):
/* -*- C++ -*- */
// PCB.h,v 1.2 2004/01/03 22:31:20 shuston Exp
#if !defined(PCB_H)
#define PCB_H
// Listing 1 code/ch20
class PCB
{
public:
PCB ();
// Set/get the timer id that is being handled by this instance.
void setID (long timerID);
long getID (void) const;
// Handle a timeout event, cancel, and close.
virtual int handleEvent (const void *arg);
virtual int handleCancel (void);
virtual int handleClose (void);
private:
long timerID_;
int count_;
};
// Listing 1
#endif /*PCB_H*/
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -