⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 counter.h

📁 如题 就是 这东西 为什么非要我 说到 20个 字 呢 看看这回 够 不
💻 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 + -