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

📄 symbiandlldll.h

📁 实现动态封装功能!大家好好的看看!有什么不明白的大家好好的研究一下!
💻 H
字号:
/*
============================================================================
 Name        : SymbiandllDll.h
 Author      : 
 Version     :
 Copyright   : Your copyright notice
 Description : SymbiandllDll.h - CSymbiandllDll class header
               Defines the API for SymbiandllDll.dll
============================================================================
*/

#ifndef __SYMBIANDLLDLL_H__
#define __SYMBIANDLLDLL_H__

// INCLUDES
#include <e32base.h>    // CBase
#include <e32std.h>     // TBuf

// CONSTANTS
const TInt KSymbiandllDllBufferLength = 15;
typedef TBuf<KSymbiandllDllBufferLength> TSymbiandllDllExampleString;

//  CLASS DEFINITIONS

class CSymbiandllDll : public CBase
    {
    public:     // new functions
        IMPORT_C static CSymbiandllDll* NewL();
        IMPORT_C static CSymbiandllDll* NewLC();
        IMPORT_C ~CSymbiandllDll();

    public:     // new functions, example API
        IMPORT_C TVersion Version() const;
        IMPORT_C void ExampleFuncAddCharL(const TChar& aChar);
        IMPORT_C void ExampleFuncRemoveLast();
	  IMPORT_C void ExampleFuncClearBuffer();
        IMPORT_C const TPtrC ExampleFuncString() const;

    private:    // new functions
        CSymbiandllDll();
        void ConstructL();

    private:    // data
        TSymbiandllDllExampleString* iString;
    };


#endif  // __SYMBIANDLLDLL_H__


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -