You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
716 B
25 lines
716 B
// PassportPerfInterface.cpp: implementation of the PassportPerfInterface class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#define _PassportExport_
|
|
#include "PassportExport.h"
|
|
|
|
#include "PassportPerfInterface.h"
|
|
#include "PassportPerfMon.h"
|
|
|
|
//-------------------------------------------------------------
|
|
//
|
|
// CreatePassportPerfObject
|
|
//
|
|
//-------------------------------------------------------------
|
|
PassportPerfInterface * CreatePassportPerformanceObject ( PassportPerfInterface::OBJECT_TYPE type )
|
|
{
|
|
switch (type)
|
|
{
|
|
case PassportPerfInterface::PERFMON_TYPE:
|
|
return ( PassportPerfInterface * ) new PassportPerfMon();
|
|
default:
|
|
return NULL;
|
|
}
|
|
}
|