model.h

来自「symbian AutoStart,symbian 开机自动运行」· C头文件 代码 · 共 34 行

H
34
字号

#ifndef __MODEL_H__
#define __MODEL_H__

#include <e32base.h>

class CAutoStartDocument;

_LIT( KSettingFileName, "AutoStart.dat");

class CModel : public CBase
    {
    public:
        static CModel* NewL( CAutoStartDocument* aDocument );
        ~CModel();
       
    public:
		inline TBool& AutoStartEnable() { return iAutoStartEnable; }
		inline TBool& AutoStart() { return iAutoStart; }
		void ExternalizeL() const;
		void InternalizeL();
		void Reset();

    private:
		CModel( CAutoStartDocument* aDocument );
        void ConstructL( );
	
	private:
		CAutoStartDocument* iDocument;
		TBool iAutoStartEnable;
		TBool iAutoStart;
    };

#endif  // __MODEL_H__

⌨️ 快捷键说明

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