📄 ctimer.h
字号:
/* * ctimer.h * PeerCast * * Created by mode7 on Mon Apr 12 2004. * Copyright (c) 2002-2004 peercast.org. All rights reserved. * */ #ifndef _CTIMER_H#define _CTIMER_H#include <Carbon/Carbon.h>class Timer{public: explicit Timer( EventLoopRef mainLoop, EventTimerInterval inFireDelay, EventTimerInterval inInterval, void* inTimerData, EventLoopTimerProcPtr userRoutine ); ~Timer() { RemoveEventLoopTimer( mTimer ); DisposeEventLoopTimerUPP(mTimerUPP); }private: EventLoopTimerUPP mTimerUPP; EventLoopTimerRef mTimer;};#endif // _CTIMER_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -