dlltest.h
来自「Symbian 调用摄像头的简单程序。实现了最基本的功能。」· C头文件 代码 · 共 54 行
H
54 行
/*
============================================================================
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 + =
减小字号Ctrl + -
显示快捷键?