📄 dlltest.h
字号:
/*
============================================================================
Name : dllTest.h
Author : Augusta
Version :
Copyright : All Right Reserved
Description : dllTest.h - CdllTest class header
============================================================================
*/
// This file defines the API for dllTest.dll
#ifndef __DLLTEST_H__
#define __DLLTEST_H__
// Include Files
#include <e32base.h> // CBase
// Constants
const TInt KdllTestBufferLength = 15;
typedef TBuf<KdllTestBufferLength> TdllTestExampleString;
// Class Definitions
class CdllTest : public CBase
{
public: // new functions
IMPORT_C static CdllTest* NewL();
IMPORT_C static CdllTest* NewLC();
IMPORT_C ~CdllTest();
public: // new functions, example API
IMPORT_C TVersion Version() const;
IMPORT_C void ExampleFuncAddCharL(const TChar& aChar);
IMPORT_C void ExampleFuncRemoveLast();
IMPORT_C const TPtrC ExampleFuncString() const;
IMPORT_C TInt Caculat();
private: // new functions
CdllTest();
void ConstructL();
private: // data
TdllTestExampleString* iString;
};
#endif // __DLLTEST_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -