You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
517 B
C++
20 lines
517 B
C++
#pragma once
|
|
#include "module.h"
|
|
#include "EnumPropertieType.h"
|
|
|
|
//程序的优先级管理
|
|
class CAppPriorityMgr :public CModule
|
|
{
|
|
public:
|
|
CAppPriorityMgr(void);
|
|
~CAppPriorityMgr(void);
|
|
virtual void OnAppInitialize();
|
|
virtual MODULE GetModuleType(){return _APP_PRIORITY_PROP;};
|
|
virtual CMFCPropertyGridProperty *CreatGridProperty();
|
|
private:
|
|
void GetHighestPriority();
|
|
private:
|
|
bool m_bGetHighestPriority;//是否在打开软件时获取最高优先级
|
|
};
|
|
|
|
extern CAppPriorityMgr *gAppPriorityMgr; |