Hello Scott.
I can implement class CWorkDevice.
I begin that work today.
- Igor

----- Original Message -----
From: "Scott C. Best" <[EMAIL PROTECTED]>
To: "Igor Kotelevsky" <[EMAIL PROTECTED]>
Cc: "mailbox" <[EMAIL PROTECTED]>; "Lyapin Oleg" <[EMAIL PROTECTED]>;
"Kaboodle-devel" <[EMAIL PROTECTED]>
Sent: Monday, July 15, 2002 10:36 PM
Subject: Re: [Kaboodle-devel] Kaboodle restructing classes needs


> Igor:
> Yes:  class CWorkDevice is the right solution. Can you
> implement this?
>
> -Scott
>
> On Mon, 15 Jul 2002, Igor Kotelevsky wrote:
>
> > Hello Scott.
> > Several days earlier you wrote:
> > > Kaboodle should treat Macintosh PC's and non-Kaboodle PC's the same in
> > > *every way* except for the icon group and the "System Info" tab
> > > in the Property Panel.
> > Now Kaboodle have some "Macintosh" bugs.
> > I think that all above bugs
> > (and others, that may be we don't see now) has following reason.
> > In Kaboodle not correct are chosen following classes:
> > class CNIDPC:public CNIDDevice,
> > class CNIDMacintosh : public CNIDDevice.
> > All that classes has equal data members:
> > DWORD m_dwMacAddrLen;
> > BYTE m_pMacAddress[MAX_MACADDRESSLEN];
> > DWORD m_IPAddress;
> > char m_strProcessor[MAX_PATH];
> > char m_strVersion[MAX_PATH];
> > char m_strUserName[MAX_PATH];
> > char m_strJetSendSubAddress[10];
> > ...
> > All that classes has equal function members:
> > void GetStringMacAddress(CString& rStrMacAddress);
> > ...
> > The right solution is next:
> > All common data and functions must be restructuring in to the new common
> > base class.
> > For example, like next:
> > class CWorkDevice:public CNIDDevice
> > {
> > ...
> > public:
> > DWORD m_dwMacAddrLen;
> > BYTE m_pMacAddress[MAX_MACADDRESSLEN];
> > DWORD m_IPAddress;
> > char m_strProcessor[MAX_PATH];
> > char m_strVersion[MAX_PATH];
> > char m_strUserName[MAX_PATH];
> > char m_strJetSendSubAddress[10];
> > ...
> > void GetStringMacAddress(CString& rStrMacAddress);
> > ...
> > };
> >
> > class CNIDPC:public CNIDDevice{}
> > class CNIDMacintosh : public CNIDDevice{}
> >
> > Then devices of type PC and Macintosh will behave equally.
> >
> > - Igor
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Kaboodle-devel mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/kaboodle-devel
> >
>
>



-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
_______________________________________________
Kaboodle-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kaboodle-devel

Reply via email to