ctimer.h
来自「P2P应用 : Peercast的源代码」· C头文件 代码 · 共 31 行
H
31 行
/* * 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 + =
减小字号Ctrl + -
显示快捷键?