GME  13
InspectorEntry.cpp
Go to the documentation of this file.
00001 // InspectorEntry.cpp: implementation of the CInspectorEntry class.
00002 //
00004 
00005 #include "stdafx.h"
00006 #include "objectinspector.h"
00007 #include "InspectorEntry.h"
00008 
00009 #ifdef _DEBUG
00010 #undef THIS_FILE
00011 static char THIS_FILE[]=__FILE__;
00012 #define new DEBUG_NEW
00013 #endif
00014 
00016 // Construction/Destruction
00018 
00019 CInspectorEntry::CInspectorEntry()
00020 {
00021         m_name.Empty();
00022         m_ROval.Empty();
00023 }
00024 
00025 CInspectorEntry::~CInspectorEntry()
00026 {
00027 
00028 }
00029 
00030 void CInspectorEntry::InitFromParameter(const CString &name, const CString &val)
00031 {
00032         m_name = name;
00033         m_ROval = val;
00034 }
00035 
00036 void CInspectorEntry::InitFromRegistry(const CString &name, const CComPtr<IMgaRegNode> &regnode)
00037 {
00038         m_name = name;
00039         m_regnode = regnode;
00040 }
00041 
00042 void CInspectorEntry::InitFromAttribute(const CString &name, const CComPtr<IMgaAttribute> &attr)
00043 {
00044         m_name = name;
00045         m_attribute = attr;
00046 }
00047 
00048 CString CInspectorEntry::GetHelp()
00049 {
00050         return m_help;
00051 }
00052 
00053 int CInspectorEntry::GetEntryHeight(CDC *pDC)
00054 {
00055         return 14;
00056 }
00057 
00058 void CInspectorEntry::DrawEntry(CDC *pDC, const CRect &rect)
00059 {
00060 
00061 }