📄 counter.h
字号:
// counter.h
//
// Copyright (c) 1999-2007 Symbian Software Ltd. All rights reserved.
//
// $Change: 937687 $
#ifndef COUNTER_H
#define COUNTER_H
// SYSTEM HEADERS
#ifndef __E32BASE_H__
#include <e32base.h>
#endif
//**********************************
//RCountServ
//**********************************
// The client class. An RSessionBase sends messages to the server with
// the function RSessionBase::SendReceive(); specifying an opcode
// (TCountServRqst) and and array of argument pointers.
// Functions in derived classes, such as RCountServ::Increase(), are
// wrappers for different calls to SendReceive().
// Most of the functions here return void because if they fail the server
// will panic the client. If they return it can be assumed that there
// is no error.
class RCountServ : public RSessionBase
{
public:
IMPORT_C RCountServ();
IMPORT_C TInt Connect();
IMPORT_C TVersion Version() const;
IMPORT_C TInt Stop();
IMPORT_C void Increase();
IMPORT_C void Decrease();
IMPORT_C void IncreaseBy(TInt anInt);
IMPORT_C void DecreaseBy(TInt anInt);
IMPORT_C void Reset();
IMPORT_C TInt CounterValue();
};
#endif // COUNTER_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -